summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-26 10:02:04 +0100
committerErik Johnston <erik@matrix.org>2017-05-26 10:02:04 +0100
commit23da6383609f9b16e9ea6efd19096516621408be (patch)
treec2fd426cd4810c5051f188e2bdbc390cb97748d6 /tests/test_state.py
parentFaster cache for get_joined_hosts (diff)
downloadsynapse-23da6383609f9b16e9ea6efd19096516621408be.tar.xz
Fix typing tests
Diffstat (limited to 'tests/test_state.py')
-rw-r--r--tests/test_state.py2
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