Changeset - 754dbf31b551
[Not reviewed]
stable
0 1 0
Mads Kiilerich - 6 years ago 2020-04-30 15:23:04
mads@kiilerich.com
tests: fix test_admin_auth_settings.py dependency on order of tests using the same user
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/functional/test_admin_auth_settings.py
Show inline comments
 
@@ -155,12 +155,12 @@ class TestAuthSettingsController(base.Te
 
        response = self.app.get(
 
            url=base.url(controller='admin/my_account', action='my_account'),
 
            extra_environ={'THE_USER_NAME': 'johnd',
 
                           'THE_USER_EMAIL': 'john@example.org',
 
                           'THE_USER_EMAIL': 'john2@example.org',
 
                           'THE_USER_FIRSTNAME': 'John',
 
                           'THE_USER_LASTNAME': 'Doe',
 
                           }
 
        )
 
        assert response.form['email'].value == 'john@example.org'
 
        assert response.form['email'].value == 'john2@example.org'
 
        assert response.form['firstname'].value == 'John'
 
        assert response.form['lastname'].value == 'Doe'
 

	
0 comments (0 inline, 0 general)