diff --git a/tests/appservice/test_appservice.py b/tests/appservice/test_appservice.py
index f943dbfa03d529699276949bf2d412ff4563ff36..5b2b95860ac621fddcdce6d72997771236c78f21 100644
--- a/tests/appservice/test_appservice.py
+++ b/tests/appservice/test_appservice.py
@@ -36,7 +36,7 @@ class ApplicationServiceTestCase(unittest.TestCase):
             id="unique_identifier",
             url="some_url",
             token="some_token",
-            hostname="matrix.org", # only used by get_groups_for_user
+            hostname="matrix.org",  # only used by get_groups_for_user
             namespaces={
                 ApplicationService.NS_USERS: [],
                 ApplicationService.NS_ROOMS: [],