diff options
author | Travis Ralston <travisr@element.io> | 2024-06-12 04:27:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 12:27:46 +0200 |
commit | f1c4dfb08b530f2bfaf9c6723ce69ccd231a3370 (patch) | |
tree | 4c6a10da47f03ead7817b7c1188bb0e2bb53dfaa /tests/rest/admin | |
parent | Bump types-jsonschema from 4.21.0.20240311 to 4.22.0.20240610 (#17288) (diff) | |
download | synapse-f1c4dfb08b530f2bfaf9c6723ce69ccd231a3370.tar.xz |
Add report room API (MSC4151) (#17270)
https://github.com/matrix-org/matrix-spec-proposals/pull/4151 This is intended to be enabled by default for immediate use. When FCP is complete, the unstable endpoint will be dropped and stable endpoint supported instead - no backwards compatibility is expected for the unstable endpoint.
Diffstat (limited to 'tests/rest/admin')
-rw-r--r-- | tests/rest/admin/test_event_reports.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rest/admin/test_event_reports.py b/tests/rest/admin/test_event_reports.py index a0f978911a..feb410a11d 100644 --- a/tests/rest/admin/test_event_reports.py +++ b/tests/rest/admin/test_event_reports.py @@ -24,7 +24,7 @@ from twisted.test.proto_helpers import MemoryReactor import synapse.rest.admin from synapse.api.errors import Codes -from synapse.rest.client import login, report_event, room +from synapse.rest.client import login, reporting, room from synapse.server import HomeServer from synapse.types import JsonDict from synapse.util import Clock @@ -37,7 +37,7 @@ class EventReportsTestCase(unittest.HomeserverTestCase): synapse.rest.admin.register_servlets, login.register_servlets, room.register_servlets, - report_event.register_servlets, + reporting.register_servlets, ] def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None: @@ -453,7 +453,7 @@ class EventReportDetailTestCase(unittest.HomeserverTestCase): synapse.rest.admin.register_servlets, login.register_servlets, room.register_servlets, - report_event.register_servlets, + reporting.register_servlets, ] def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None: |