# HG changeset patch # User Mads Kiilerich # Date 1588252984 -7200 # Node ID 754dbf31b551747a32bc3540369c9e2097a0a23b # Parent 86bf2cd71a65d1ac199f99fe7a23c45eed49160a tests: fix test_admin_auth_settings.py dependency on order of tests using the same user diff -r 86bf2cd71a65 -r 754dbf31b551 kallithea/tests/functional/test_admin_auth_settings.py --- a/kallithea/tests/functional/test_admin_auth_settings.py Thu Apr 30 13:57:40 2020 +0200 +++ b/kallithea/tests/functional/test_admin_auth_settings.py Thu Apr 30 15:23:04 2020 +0200 @@ -155,12 +155,12 @@ 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'