mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-11 19:56:37 -05:00
Fix typing tests
This commit is contained in:
parent
dfbda5e025
commit
23da638360
2 changed files with 7 additions and 7 deletions
|
|
@ -143,6 +143,7 @@ class StateTestCase(unittest.TestCase):
|
|||
"add_event_hashes",
|
||||
"get_events",
|
||||
"get_next_state_group",
|
||||
"get_state_group_delta",
|
||||
]
|
||||
)
|
||||
hs = Mock(spec_set=[
|
||||
|
|
@ -154,6 +155,7 @@ class StateTestCase(unittest.TestCase):
|
|||
hs.get_auth.return_value = Auth(hs)
|
||||
|
||||
self.store.get_next_state_group.side_effect = Mock
|
||||
self.store.get_state_group_delta.return_value = (None, None)
|
||||
|
||||
self.state = StateHandler(hs)
|
||||
self.event_id = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue