diff options
author | David Teller <d.o.teller+github@gmail.com> | 2021-01-28 16:53:40 +0100 |
---|---|---|
committer | David Teller <d.o.teller+github@gmail.com> | 2021-01-28 16:53:40 +0100 |
commit | 31d072aea0a37ad5408995359b89080b5280f57d (patch) | |
tree | ede3166f04485be727f3657fa70b90b48a4c7038 /tests/rest/admin | |
parent | FIXUP: Making get_event_context a bit more paranoid (diff) | |
download | synapse-31d072aea0a37ad5408995359b89080b5280f57d.tar.xz |
FIXUP: linter
Diffstat (limited to 'tests/rest/admin')
-rw-r--r-- | tests/rest/admin/test_room.py | 4 |
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): |