diff --git a/tests/test_web.py b/tests/test_web.py index 3dbfb1b..d33470c 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -267,7 +267,7 @@ class TestPublic(unittest.TestCase): instance_config = self.client.get_config_info() if not instance_config.get('registration'): return None - for login in ["login", "user", "username", "help", "test", "about", "administration", "account"]: + for login in ['login', 'user', 'username', 'help', 'test', 'about', 'administration', 'account']: user = self.client.create_user(name='test Name', login=login, organisation='test Organization', email='test@testorg.local') self.assertEqual(user['message'], 'Username not allowed.')