mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix room tests
This commit is contained in:
parent
f48fce8bd3
commit
c670ce416b
@ -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 New Issue
Block a user