summary refs log tree commit diff
path: root/tests/storage/test_base.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-21 15:12:45 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-21 15:12:45 +0100
commite15cca700b4e15f036fa46d8e626d1f488085b12 (patch)
treea5211c61c21f5e735127e14c29e8a215c99018c5 /tests/storage/test_base.py
parentMerge commit '6a8fd03ac' into anoa/dinsic_release_1_21_x (diff)
parent1.21.0 (diff)
downloadsynapse-e15cca700b4e15f036fa46d8e626d1f488085b12.tar.xz
Merge commit 'f76194a02' into anoa/dinsic_release_1_21_x
* commit 'f76194a02':
  1.21.0
  Update change log
  1.21.0rc3
  Reduce serialization errors in MultiWriterIdGen (#8456)
  Add Ubuntu 20.10 (Groovy Gorilla) to build scripts. (#8475)
  move #8444 to 'feature'
  linkify changelog
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