# HG changeset patch # User Mads Kiilerich # Date 2020-04-24 12:14:28 # Node ID 9bf701b246bacd41c499f99d7e89eabbc0c14ff2 # Parent a9e71e61cedf6e08561c7e8f9380ccd00fa6ea6a tests: fix test_admin_settings test dependencies Failure could be reproduced with py.test kallithea/tests/functional/test_admin_settings.py -k x diff --git a/kallithea/tests/functional/test_admin_settings.py b/kallithea/tests/functional/test_admin_settings.py --- a/kallithea/tests/functional/test_admin_settings.py +++ b/kallithea/tests/functional/test_admin_settings.py @@ -46,8 +46,7 @@ class TestAdminSettingsController(base.T response.mustcontain('test_hooks_1') response.mustcontain('cd %s' % base.TESTS_TMP_PATH) - def test_edit_custom_hook(self): - self.log_user() + # test_edit_custom_hook response = self.app.post(base.url('admin_settings_hooks'), params=dict(hook_ui_key='test_hooks_1', hook_ui_value='old_value_of_hook_1', @@ -58,8 +57,7 @@ class TestAdminSettingsController(base.T response.mustcontain('test_hooks_1') response.mustcontain('new_value_of_hook_1') - def test_add_existing_custom_hook(self): - self.log_user() + # test_add_existing_custom_hook response = self.app.post(base.url('admin_settings_hooks'), params=dict(new_hook_ui_key='test_hooks_1', new_hook_ui_value='attempted_new_value',