summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-01-09 20:37:12 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-01-09 20:37:12 +0000
commitaa70b0afb136cbf3a19aece29dd699bf0f1be198 (patch)
tree28893ab5d982b671f2132e5a07b11f81860a91d9
parentfix presence tests (diff)
downloadsynapse-matthew/no-as-ratelimit-for-noop-joins.tar.xz
-rw-r--r--tests/rest/client/v1/test_rooms.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index d8409e32cd..1ac4cedee5 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -987,10 +987,11 @@ class RoomInitialSyncTestCase(RestTestCase):
 
         self.assertTrue("presence" in response)
 
-        presence_by_user = {
-            e["content"]["user_id"]: e for e in response["presence"]
-        }
         # presence is turned off on hotfixes
+
+        # presence_by_user = {
+        #     e["content"]["user_id"]: e for e in response["presence"]
+        # }
         # self.assertTrue(self.user_id in presence_by_user)
         # self.assertEquals("m.presence", presence_by_user[self.user_id]["type"])