summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-05 11:15:15 +0000
committerErik Johnston <erik@matrix.org>2014-11-05 11:15:15 +0000
commitc670ce416bcbdeb929ce06dabcd4bce841ec815d (patch)
treee444aab798dca3862a684fc2d1c3372bb600b336 /tests/handlers
parentFix profile tests (diff)
downloadsynapse-c670ce416bcbdeb929ce06dabcd4bce841ec815d.tar.xz
Fix room tests
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_room.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py
index f0b77a2496..146ed21b65 100644
--- a/tests/handlers/test_room.py
+++ b/tests/handlers/test_room.py
@@ -123,9 +123,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
         # Actual invocation
         yield self.room_member_handler.change_membership(event)
 
-        self.state_handler.handle_new_event.assert_called_once_with(
-            event, self.snapshot,
-        )
         self.federation.handle_new_event.assert_called_once_with(
             event, self.snapshot,
         )
@@ -186,9 +183,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
         # Actual invocation
         yield self.room_member_handler.change_membership(event)
 
-        self.state_handler.handle_new_event.assert_called_once_with(
-            event, self.snapshot
-        )
         self.federation.handle_new_event.assert_called_once_with(
             event, self.snapshot
         )