summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-20 16:04:01 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-20 16:06:47 +0100
commit583add34fe6908f642a78be9d08a15e0b47498d0 (patch)
tree8b3361e2855b6348f9bdff719e8fe9c853293c43 /tests/handlers
parentFix exception name in _fill_out_join_content() exception (diff)
downloadsynapse-583add34fe6908f642a78be9d08a15e0b47498d0.tar.xz
Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_room.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py
index be68f17696..bf71d3be3b 100644
--- a/tests/handlers/test_room.py
+++ b/tests/handlers/test_room.py
@@ -69,6 +69,8 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
         self.distributor = hs.get_distributor()
         self.hs = hs
 
+        self.distributor.declare("collect_presencelike_data")
+
         self.handlers.room_member_handler = RoomMemberHandler(self.hs)
         self.handlers.profile_handler = ProfileHandler(self.hs)
         self.room_member_handler = self.handlers.room_member_handler