From 45200315dac76a763f060c417b05c97de2c9f1cd Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 17 Sep 2024 23:59:58 -0500 Subject: [PATCH] Fix wrong room being referenced --- tests/rest/client/sliding_sync/test_sliding_sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/rest/client/sliding_sync/test_sliding_sync.py b/tests/rest/client/sliding_sync/test_sliding_sync.py index 8af260333e..a7b0006170 100644 --- a/tests/rest/client/sliding_sync/test_sliding_sync.py +++ b/tests/rest/client/sliding_sync/test_sliding_sync.py @@ -1020,7 +1020,9 @@ class SlidingSyncTestCase(SlidingSyncBase): # Make the Sliding Sync request response_body, from_token = self.do_sync(sync_body, tok=user1_tok) # Make sure we see room1 - self.assertIncludes(set(response_body["rooms"].keys()), {room_id1}, exact=True) + self.assertIncludes( + set(response_body["rooms"].keys()), {space_room_id}, exact=True + ) self.assertEqual(response_body["rooms"][space_room_id]["initial"], True) # Trigger a state reset