diff options
author | Erik Johnston <erik@matrix.org> | 2016-06-03 17:30:00 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-06-03 17:30:00 +0100 |
commit | f6be734be9b784bc26a3a23e72061d7b1804efa0 (patch) | |
tree | 89a0ecfabd3267d7a5d7bc6c21d495d5f520c0aa /tests | |
parent | Merge pull request #834 from matrix-org/dbkr/fix_email_from (diff) | |
parent | Remove event fetching from DB threads (diff) | |
download | synapse-f6be734be9b784bc26a3a23e72061d7b1804efa0.tar.xz |
Merge pull request #835 from matrix-org/erikj/get_event_txn
Remove event fetching from DB threads
Diffstat (limited to 'tests')
-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 5734198121..f44c4870e3 100644 --- a/tests/storage/test_appservice.py +++ b/tests/storage/test_appservice.py @@ -357,7 +357,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_txn = Mock(return_value=events) + self.store.get_events = Mock(return_value=events) yield self._insert_txn(self.as_list[1]["id"], 9, other_events) yield self._insert_txn(service.id, 10, events) |