diff options
author | reivilibre <oliverw@matrix.org> | 2021-12-21 16:12:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 16:12:05 +0000 |
commit | e6897e7383178db0bd6243e68346a420bf90b982 (patch) | |
tree | 271f7948ef19179a5f76c813ab2a9e3e38006e4b /tests/storage | |
parent | Add type hints to event_push_actions. (#11594) (diff) | |
download | synapse-e6897e7383178db0bd6243e68346a420bf90b982.tar.xz |
Refactor `tests.util.setup_test_homeserver` and `tests.server.setup_test_homeserver`. (#11503)
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): |