summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-03 17:12:48 +0100
committerErik Johnston <erik@matrix.org>2016-06-03 17:22:13 +0100
commit05e01f21d7012c1853ff566c8a76aa66087bfbd7 (patch)
tree3819fa86bda6600ee616c361f336fba070f9e6d7 /tests
parentMerge branch 'release-v0.16.0' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-05e01f21d7012c1853ff566c8a76aa66087bfbd7.tar.xz
Remove event fetching from DB threads
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_appservice.py2
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)