diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-26 10:02:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-26 10:02:04 +0100 |
commit | 23da6383609f9b16e9ea6efd19096516621408be (patch) | |
tree | c2fd426cd4810c5051f188e2bdbc390cb97748d6 /tests | |
parent | Faster cache for get_joined_hosts (diff) | |
download | synapse-23da6383609f9b16e9ea6efd19096516621408be.tar.xz |
Fix typing tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_state.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_state.py b/tests/test_state.py index 6454f994e3..feb84f3d48 100644 --- a/tests/test_state.py +++ b/tests/test_state.py @@ -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 |