From 234e4cb83de4c92c84ad988803bdd1d44a719090 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 17 Jul 2024 15:27:19 +0100 Subject: Only return changed rooms --- tests/rest/client/test_sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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: """ -- cgit 1.5.1