summary refs log tree commit diff
path: root/tests/rest/client/test_rooms.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-07-27 13:18:41 -0400
committerGitHub <noreply@github.com>2022-07-27 17:18:41 +0000
commit922b771337f6d14a556fa761c783748f698e924b (patch)
tree7ee9ff2cdca63b9c912c818902009870ae93a90d /tests/rest/client/test_rooms.py
parentImplement MSC3848: Introduce errcodes for specific event sending failures (#1... (diff)
downloadsynapse-922b771337f6d14a556fa761c783748f698e924b.tar.xz
Add missing type hints for tests.unittest. (#13397)
Diffstat (limited to 'tests/rest/client/test_rooms.py')
-rw-r--r--tests/rest/client/test_rooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py
index c45cb32090..2272d55d84 100644
--- a/tests/rest/client/test_rooms.py
+++ b/tests/rest/client/test_rooms.py
@@ -496,7 +496,7 @@ class RoomStateTestCase(RoomBase):
 
         self.assertEqual(HTTPStatus.OK, channel.code, msg=channel.result["body"])
         self.assertCountEqual(
-            [state_event["type"] for state_event in channel.json_body],
+            [state_event["type"] for state_event in channel.json_list],
             {
                 "m.room.create",
                 "m.room.power_levels",