mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
Fix room tests
This commit is contained in:
parent
f48fce8bd3
commit
c670ce416b
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue