@@ -368,22 +368,22 @@ def opendb(username):
368368 self .client .opendb = opendb
369369
370370 # basic test with query
371- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search" ,
371+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search&%40ok_message=Welcome+foo%21 " ,
372372 'foo' , 'right' , "http://whoami.com/path/issue?@action=search" )
373373
374374 # test that old messages are removed
375375 self .form .value [:] = [] # clear out last test's setup values
376- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search" ,
376+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue?%40action=search&%40ok_message=Welcome+foo%21 " ,
377377 'foo' , 'right' , "http://whoami.com/path/issue?@action=search&@ok_messagehurrah+we+win&@error_message=blam" )
378378
379379 # test when there is no query
380380 self .form .value [:] = [] # clear out last test's setup values
381- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue255" ,
381+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue255?%40ok_message=Welcome+foo%21 " ,
382382 'foo' , 'right' , "http://whoami.com/path/issue255" )
383383
384384 # test if we are logged out; should kill the @action=logout
385385 self .form .value [:] = [] # clear out last test's setup values
386- self .assertLoginRaisesRedirect ("http://whoami.com/path/issue39?%40pagesize=50&%40startwith=0" ,
386+ self .assertLoginRaisesRedirect ("http://whoami.com/path/issue39?%40ok_message=Welcome+foo%21&% 40pagesize=50&%40startwith=0" ,
387387 'foo' , 'right' , "http://whoami.com/path/issue39?@action=logout&@pagesize=50&@startwith=0" )
388388
389389 def testInvalidLoginRedirect (self ):
0 commit comments