summary refs log tree commit diff
path: root/tests/rest/client/test_sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-07-17 15:27:19 +0100
committerErik Johnston <erik@matrix.org>2024-07-17 15:27:37 +0100
commit234e4cb83de4c92c84ad988803bdd1d44a719090 (patch)
tree7bac88869dbc5be34013d9ea88b3d1393855996b /tests/rest/client/test_sync.py
parentAdd tests (diff)
downloadsynapse-erikj/ss_incr_sync.tar.xz
Diffstat (limited to 'tests/rest/client/test_sync.py')
-rw-r--r--tests/rest/client/test_sync.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rest/client/test_sync.py b/tests/rest/client/test_sync.py

index ada95bba22..0c66111e07 100644 --- a/tests/rest/client/test_sync.py +++ b/tests/rest/client/test_sync.py
@@ -3569,8 +3569,7 @@ class SlidingSyncTestCase(unittest.HomeserverTestCase): # We only return updates but only if we've sent the room down the # connection before. - self.assertIsNone(channel.json_body["rooms"][room_id1].get("required_state")) - self.assertIsNone(channel.json_body["rooms"][room_id1].get("invite_state")) + self.assertNotIn(room_id1, channel.json_body["rooms"]) def test_rooms_required_state_wildcard(self) -> None: """