summary refs log tree commit diff
path: root/tests/storage/test_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-10-07 17:09:29 +0100
committerErik Johnston <erik@matrix.org>2020-10-07 17:09:29 +0100
commit4b43332131bd0cc96dc5e806cc69236a39ce72f5 (patch)
treec7e5991a890ccc623f5d3e0318873e91821f817a /tests/storage/test_base.py
parentMerge remote-tracking branch 'origin/release-v1.21.0' into matrix-org-hotfixes (diff)
parentReduce serialization errors in MultiWriterIdGen (#8456) (diff)
downloadsynapse-4b43332131bd0cc96dc5e806cc69236a39ce72f5.tar.xz
Merge remote-tracking branch 'origin/release-v1.21.0' into matrix-org-hotfixes
Diffstat (limited to 'tests/storage/test_base.py')
-rw-r--r--tests/storage/test_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py

index 40ba652248..eac7e4dcd2 100644 --- a/tests/storage/test_base.py +++ b/tests/storage/test_base.py
@@ -56,6 +56,7 @@ class SQLBaseStoreTestCase(unittest.TestCase): engine = create_engine(sqlite_config) fake_engine = Mock(wraps=engine) fake_engine.can_native_upsert = False + fake_engine.in_transaction.return_value = False db = DatabasePool(Mock(), Mock(config=sqlite_config), fake_engine) db._db_pool = self.db_pool