diff options
author | Erik Johnston <erik@matrix.org> | 2018-10-24 09:44:22 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-10-24 09:44:22 +0100 |
commit | 810715f79aafc586e70e9dcd3da4a2cc6823f704 (patch) | |
tree | 73357359f52508df508c0a2436114691a61df339 /tests | |
parent | Update event_auth table for rejected events (diff) | |
download | synapse-810715f79aafc586e70e9dcd3da4a2cc6823f704.tar.xz |
Rename resolve_events_with_factory
Diffstat (limited to 'tests')
-rw-r--r-- | tests/state/test_v2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/state/test_v2.py b/tests/state/test_v2.py index b96bb6b25c..73f2ef7557 100644 --- a/tests/state/test_v2.py +++ b/tests/state/test_v2.py @@ -24,7 +24,7 @@ from synapse.event_auth import auth_types_for_event from synapse.events import FrozenEvent from synapse.state.v2 import ( lexicographical_topological_sort, - resolve_events_with_factory, + resolve_events_with_store, ) from synapse.types import EventID @@ -541,7 +541,7 @@ class StateTestCase(unittest.TestCase): elif len(prev_events) == 1: state_before = dict(state_at_event[prev_events[0]]) else: - state_d = resolve_events_with_factory( + state_d = resolve_events_with_store( [state_at_event[n] for n in prev_events], event_map=event_map, state_res_store=TestStateResolutionStore(event_map), |