summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2016-03-03 13:56:28 +0000
committerDaniel Wagner-Hall <dawagner@gmail.com>2016-03-03 13:56:28 +0000
commit95481e7ba70fd5745c409ef285ed6bd0def81426 (patch)
treee4d4b3c6215a228055ea3108fa3b0d3b87ecde0d /tests/storage
parentjenkins.sh: set -x (diff)
parentMark AS users with their AS's ID (diff)
downloadsynapse-95481e7ba70fd5745c409ef285ed6bd0def81426.tar.xz
Merge pull request #571 from matrix-org/daniel/asids
Mark AS users with their AS's ID
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py
index c76545be65..2e33beb07c 100644
--- a/tests/storage/test_base.py
+++ b/tests/storage/test_base.py
@@ -48,11 +48,12 @@ class SQLBaseStoreTestCase(unittest.TestCase):
 
         config = Mock()
         config.event_cache_size = 1
+        config.database_config = {"name": "sqlite3"}
         hs = HomeServer(
             "test",
             db_pool=self.db_pool,
             config=config,
-            database_engine=create_engine("sqlite3"),
+            database_engine=create_engine(config),
         )
 
         self.datastore = SQLBaseStore(hs)