diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-27 12:41:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 12:41:24 +0000 |
commit | a737cc27134c50059440ca33510b0baea53b4225 (patch) | |
tree | 585d5df66f97c20dcf77c15be4c81827337552b4 /tests/utils.py | |
parent | Fix Python 3.5 old deps build by using a compatible pip version. (#9217) (diff) | |
download | synapse-a737cc27134c50059440ca33510b0baea53b4225.tar.xz |
Implement MSC2858 support (#9183)
Fixes #8928.
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 09614093bc..022223cf24 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -33,7 +33,6 @@ from synapse.api.room_versions import RoomVersions from synapse.config.database import DatabaseConnectionConfig from synapse.config.homeserver import HomeServerConfig from synapse.config.server import DEFAULT_ROOM_VERSION -from synapse.http.server import HttpServer from synapse.logging.context import current_context, set_current_context from synapse.server import HomeServer from synapse.storage import DataStore @@ -351,7 +350,7 @@ def mock_getRawHeaders(headers=None): # This is a mock /resource/ not an entire server -class MockHttpResource(HttpServer): +class MockHttpResource: def __init__(self, prefix=""): self.callbacks = [] # 3-tuple of method/pattern/function self.prefix = prefix |