Fix room tests

This commit is contained in:
Erik Johnston 2014-11-05 11:15:15 +00:00
parent f48fce8bd3
commit c670ce416b

View file

@ -123,9 +123,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
# Actual invocation # Actual invocation
yield self.room_member_handler.change_membership(event) 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( self.federation.handle_new_event.assert_called_once_with(
event, self.snapshot, event, self.snapshot,
) )
@ -186,9 +183,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
# Actual invocation # Actual invocation
yield self.room_member_handler.change_membership(event) 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( self.federation.handle_new_event.assert_called_once_with(
event, self.snapshot event, self.snapshot
) )