diff options
author | Erik Johnston <erikj@jki.re> | 2017-06-07 14:01:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-07 14:01:06 +0100 |
commit | a053ff397946ed6184e56f37013d0fa9d379d2ff (patch) | |
tree | ff1144dbe7bfc0dd281fdc9cf29cfa77bae0054a /tests/test_state.py | |
parent | Add some logging to user directory (diff) | |
parent | Comments (diff) | |
download | synapse-a053ff397946ed6184e56f37013d0fa9d379d2ff.tar.xz |
Merge pull request #2248 from matrix-org/erikj/state_fixup
Faster cache for get_joined_hosts
Diffstat (limited to 'tests/test_state.py')
-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 |