diff options
author | Erik Johnston <erikj@jki.re> | 2019-05-15 10:17:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 10:17:38 +0100 |
commit | d94544051b5b6ac1a229c3e8f868ea2d3324c295 (patch) | |
tree | 08617ba7c1c06ac016aee5227d75aa693ef4a0e1 /tests/storage | |
parent | Merge pull request #5185 from matrix-org/erikj/fix_config_ratelimiting (diff) | |
parent | Update docstring with correct type (diff) | |
download | synapse-d94544051b5b6ac1a229c3e8f868ea2d3324c295.tar.xz |
Merge pull request #5184 from matrix-org/erikj/expose_get_events_as_array
Expose DataStore._get_events as get_events_as_list
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_appservice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_appservice.py b/tests/storage/test_appservice.py index 3f0083831b..25a6c89ef5 100644 --- a/tests/storage/test_appservice.py +++ b/tests/storage/test_appservice.py @@ -340,7 +340,7 @@ class ApplicationServiceTransactionStoreTestCase(unittest.TestCase): other_events = [Mock(event_id="e5"), Mock(event_id="e6")] # we aren't testing store._base stuff here, so mock this out - self.store._get_events = Mock(return_value=events) + self.store.get_events_as_list = Mock(return_value=events) yield self._insert_txn(self.as_list[1]["id"], 9, other_events) yield self._insert_txn(service.id, 10, events) |