@@ -582,20 +582,20 @@ def test_next_url_login_with_auth(self):
582582 # next_url login: user with auth
583583 data = login_and_register_handler (self .auth , next_url = self .next_url )
584584 assert data .get ('status_code' ) == http_status .HTTP_302_FOUND
585- assert data .get ('next_url' ) == self .next_url . replace ( '5000' , '4200' )
585+ assert data .get ('next_url' ) == self .next_url
586586
587587 def test_next_url_login_without_auth (self ):
588588 # login: user without auth
589589 request .url = web_url_for ('auth_login' , next = self .next_url , _absolute = True )
590590 data = login_and_register_handler (self .no_auth , next_url = self .next_url )
591591 assert data .get ('status_code' ) == http_status .HTTP_302_FOUND
592- assert data .get ('next_url' ) == cas .get_login_url (request .url ). replace ( '5000' , '4200' )
592+ assert data .get ('next_url' ) == cas .get_login_url (request .url )
593593
594594 def test_next_url_register_with_auth (self ):
595595 # register: user with auth
596596 data = login_and_register_handler (self .auth , login = False , next_url = self .next_url )
597597 assert data .get ('status_code' ) == http_status .HTTP_302_FOUND
598- assert data .get ('next_url' ) == self .next_url . replace ( '5000' , '4200' )
598+ assert data .get ('next_url' ) == self .next_url
599599
600600 def test_next_url_register_without_auth (self ):
601601 # register: user without auth
0 commit comments