summary refs log tree commit diff
path: root/tests/rest/admin/test_room.py
diff options
context:
space:
mode:
authorDavid Teller <d.o.teller+github@gmail.com>2021-01-28 16:53:40 +0100
committerDavid Teller <d.o.teller+github@gmail.com>2021-01-28 16:53:40 +0100
commit31d072aea0a37ad5408995359b89080b5280f57d (patch)
treeede3166f04485be727f3657fa70b90b48a4c7038 /tests/rest/admin/test_room.py
parentFIXUP: Making get_event_context a bit more paranoid (diff)
downloadsynapse-31d072aea0a37ad5408995359b89080b5280f57d.tar.xz
FIXUP: linter
Diffstat (limited to 'tests/rest/admin/test_room.py')
-rw-r--r--tests/rest/admin/test_room.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/admin/test_room.py b/tests/rest/admin/test_room.py
index fd201993d3..f4f5569a89 100644
--- a/tests/rest/admin/test_room.py
+++ b/tests/rest/admin/test_room.py
@@ -1461,7 +1461,9 @@ class JoinAliasRoomTestCase(unittest.HomeserverTestCase):
                 % (room_id, events[midway]["event_id"]),
                 access_token=tok,
             )
-            self.assertEquals(403, int(channel.result["code"]), msg=channel.result["body"])
+            self.assertEquals(
+                403, int(channel.result["code"]), msg=channel.result["body"]
+            )
             self.assertEqual(Codes.FORBIDDEN, channel.json_body["errcode"])
 
     def test_context_as_admin(self):