summary refs log tree commit diff
path: root/tests/storage/test_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-06 14:32:45 +0100
committerErik Johnston <erik@matrix.org>2016-04-06 14:32:45 +0100
commitb713934b2e0380f7169106b6aed346012fc21b06 (patch)
tree55e71f0b22dd178595ab8d57644821c535a794ad /tests/storage/test_base.py
parentMerge pull request #694 from matrix-org/markjh/caches (diff)
parentDon't require config to create database (diff)
downloadsynapse-b713934b2e0380f7169106b6aed346012fc21b06.tar.xz
Merge pull request #698 from matrix-org/erikj/port_script_fix
Don't require config to create database
Diffstat (limited to 'tests/storage/test_base.py')
-rw-r--r--tests/storage/test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py
index 2e33beb07c..afbefb2e2d 100644
--- a/tests/storage/test_base.py
+++ b/tests/storage/test_base.py
@@ -53,7 +53,7 @@ class SQLBaseStoreTestCase(unittest.TestCase):
             "test",
             db_pool=self.db_pool,
             config=config,
-            database_engine=create_engine(config),
+            database_engine=create_engine(config.database_config),
         )
 
         self.datastore = SQLBaseStore(hs)