summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-05 11:02:34 +0100
committerErik Johnston <erik@matrix.org>2018-02-15 09:51:09 +0000
commit08a6b88e3d895494fa4fba6e719e70395d5948fe (patch)
treedecaca743c9028440f1c08d5cb92c03285b1525c /tests
parentMake push actions rotation configurable (diff)
downloadsynapse-08a6b88e3d895494fa4fba6e719e70395d5948fe.tar.xz
Disable presence
This reverts commit 0ebd376a53bb75ade6d65db2d716478758c2c9f0 and
disables presence a bit more
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v1/test_rooms.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index 9f37255381..2e9fc84c13 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -984,11 +984,13 @@ class RoomInitialSyncTestCase(RestTestCase):
 
         self.assertTrue("presence" in response)
 
-        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"])
+        # 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"])
 
 
 class RoomMessageListTestCase(RestTestCase):