2 files changed, 2 insertions, 3 deletions
diff --git a/synapse/rest/client/reporting.py b/synapse/rest/client/reporting.py
index a099e1f69a..c8b9111f45 100644
--- a/synapse/rest/client/reporting.py
+++ b/synapse/rest/client/reporting.py
@@ -156,6 +156,7 @@ class UnstableReportRoomRestServlet(RestServlet):
return 200, {}
+
class ReportRoomRestServlet(RestServlet):
"""This endpoint lets clients report a room for abuse.
diff --git a/tests/rest/client/test_reporting.py b/tests/rest/client/test_reporting.py
index 8abff21b12..723553979f 100644
--- a/tests/rest/client/test_reporting.py
+++ b/tests/rest/client/test_reporting.py
@@ -156,9 +156,7 @@ class ReportRoomTestCase(unittest.HomeserverTestCase):
self.room_id = self.helper.create_room_as(
self.other_user, tok=self.other_user_tok, is_public=True
)
- self.report_path = (
- f"/_matrix/client/v3/rooms/{self.room_id}/report"
- )
+ self.report_path = f"/_matrix/client/v3/rooms/{self.room_id}/report"
def test_reason_str(self) -> None:
data = {"reason": "this makes me sad"}
|