diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2021-12-03 11:37:21 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2021-12-03 11:38:14 +0000 |
commit | b3fd99b74a3f6f42a9afd1b19ee4c60e38e8e91a (patch) | |
tree | 11104bc3f5a752d655394b22364a9ecffd2c468c /tests/storage | |
parent | Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchron... (diff) | |
download | synapse-b3fd99b74a3f6f42a9afd1b19ee4c60e38e8e91a.tar.xz |
Move `tests.utils.setup_test_homeserver` to `tests.server`
It had no users. We have just taken the identity of a previous function but don't provide the same behaviour, so we need to fix this in the next commit...
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_base.py | 3 | ||||
-rw-r--r-- | tests/storage/test_roommember.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py index ddad44bd6c..3e4f0579c9 100644 --- a/tests/storage/test_base.py +++ b/tests/storage/test_base.py @@ -23,7 +23,8 @@ from synapse.storage.database import DatabasePool from synapse.storage.engines import create_engine from tests import unittest -from tests.utils import TestHomeServer, default_config +from tests.server import TestHomeServer +from tests.utils import default_config class SQLBaseStoreTestCase(unittest.TestCase): diff --git a/tests/storage/test_roommember.py b/tests/storage/test_roommember.py index fccab733c0..5cfdfe9b85 100644 --- a/tests/storage/test_roommember.py +++ b/tests/storage/test_roommember.py @@ -19,8 +19,8 @@ from synapse.rest.client import login, room from synapse.types import UserID, create_requester from tests import unittest +from tests.server import TestHomeServer from tests.test_utils import event_injection -from tests.utils import TestHomeServer class RoomMemberStoreTestCase(unittest.HomeserverTestCase): |