summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-08-28 17:21:05 +0100
committerRichard van der Hoff <richard@matrix.org>2018-08-28 17:21:05 +0100
commit414fa36f3e22d87ea6ce4bdd6af54bce5a0de67c (patch)
treebee69658ab05a5c907108234f675b0da4e1f900e /tests/storage
parentuse abc.abstractproperty (diff)
downloadsynapse-414fa36f3e22d87ea6ce4bdd6af54bce5a0de67c.tar.xz
Fix up tests
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py
index 7cb5f0e4cf..829f47d2e8 100644
--- a/tests/storage/test_base.py
+++ b/tests/storage/test_base.py
@@ -20,11 +20,11 @@ from mock import Mock
 
 from twisted.internet import defer
 
-from synapse.server import HomeServer
 from synapse.storage._base import SQLBaseStore
 from synapse.storage.engines import create_engine
 
 from tests import unittest
+from tests.utils import TestHomeServer
 
 
 class SQLBaseStoreTestCase(unittest.TestCase):
@@ -51,7 +51,7 @@ class SQLBaseStoreTestCase(unittest.TestCase):
         config = Mock()
         config.event_cache_size = 1
         config.database_config = {"name": "sqlite3"}
-        hs = HomeServer(
+        hs = TestHomeServer(
             "test",
             db_pool=self.db_pool,
             config=config,