diff options
author | H. Shay <hillerys@element.io> | 2022-04-27 15:34:11 -0700 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2022-04-27 15:34:11 -0700 |
commit | df621cbaa52f07d222ccd8581bc490acd3222a4c (patch) | |
tree | 887acb974ef11950d599d344e95666c701dc2b40 /tests | |
parent | newsfragement (diff) | |
download | synapse-df621cbaa52f07d222ccd8581bc490acd3222a4c.tar.xz |
lints
Diffstat (limited to 'tests')
-rw-r--r-- | tests/module_api/test_api.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py index 5f97adc2be..861f62442b 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py @@ -636,12 +636,13 @@ class ModuleApiTestCase(HomeserverTestCase): ) def test_normalize_username(self) -> None: - username = "Haxxor" - username2 = "_leet" - username3 = "aNoThErTeSt" - self.assertEqual(self.module_api.normalize_username(username), "haxxor") - self.assertEqual(self.module_api.normalize_username(username2), "=5fleet") - self.assertEqual(self.module_api.normalize_username(username3), "anothertest") + username = "Haxxor" + username2 = "_leet" + username3 = "aNoThErTeSt" + self.assertEqual(self.module_api.normalize_username(username), "haxxor") + self.assertEqual(self.module_api.normalize_username(username2), "=5fleet") + self.assertEqual(self.module_api.normalize_username(username3), "anothertest") + class ModuleApiWorkerTestCase(BaseMultiWorkerStreamTestCase): """For testing ModuleApi functionality in a multi-worker setup""" |