devtools/httptest.py
branchstable
changeset 7434 17ef6f9efaa1
parent 7075 4751d77394b1
child 8694 d901c36bcfce
--- a/devtools/httptest.py	Wed May 25 11:39:54 2011 +0200
+++ b/devtools/httptest.py	Wed May 25 12:35:33 2011 +0200
@@ -145,7 +145,7 @@
         if passwd is None:
             passwd = user
         self.login(user)
-        response = self.web_get("?__login=%s&__password=%s" %
+        response = self.web_get("login?__login=%s&__password=%s" %
                                 (user, passwd))
         assert response.status == httplib.SEE_OTHER, response.status
         self._ident_cookie = response.getheader('Set-Cookie')