summary refs log tree commit diff
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-06-28 17:47:58 -0600
committerTravis Ralston <travisr@element.io>2024-06-28 17:47:58 -0600
commitd8fed6fadf5fe18f621a51004663e85813891bdc (patch)
tree1adb62a7ac9663a431feb0dcfde945df4b8195a4
parentchangelog (diff)
downloadsynapse-travis/report-room-stable.tar.xz
-rw-r--r--synapse/rest/client/reporting.py1
-rw-r--r--tests/rest/client/test_reporting.py4
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"}