@@ -325,7 +325,7 @@ def opendb(username):
325325
326326 # test if we are logged out; should kill the @action=logout
327327 self .form .value [:] = [] # clear out last test's setup values
328- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue39?%40startwith=0&%40pagesize=50 " ,
328+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue39?%40pagesize=50&%40startwith=0 " ,
329329 'foo' , 'right' , "http://whoami.com/path/issue39?@action=logout&@pagesize=50&@startwith=0" )
330330
331331 def testInvalidLoginRedirect (self ):
@@ -336,12 +336,12 @@ def opendb(username):
336336 self .client .opendb = opendb
337337
338338 # basic test with query
339- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40error_message=Invalid+login&%40action=search " ,
339+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search&% 40error_message=Invalid+login" ,
340340 'foo' , 'wrong' , "http://whoami.com/path/issue?@action=search" )
341341
342342 # test that old messages are removed
343343 self .form .value [:] = [] # clear out last test's setup values
344- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40error_message=Invalid+login&%40action=search " ,
344+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search&% 40error_message=Invalid+login" ,
345345 'foo' , 'wrong' , "http://whoami.com/path/issue?@action=search&@ok_messagehurrah+we+win&@error_message=blam" )
346346
347347 # test when there is no __came_from specified
0 commit comments