From df621cbaa52f07d222ccd8581bc490acd3222a4c Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Wed, 27 Apr 2022 15:34:11 -0700 Subject: lints --- tests/module_api/test_api.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'tests') 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""" -- cgit 1.4.1