summary refs log tree commit diff
path: root/tests/rest/client/test_report_event.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_report_event.py')
-rw-r--r--tests/rest/client/test_report_event.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/rest/client/test_report_event.py b/tests/rest/client/test_report_event.py

index ad0d0209f7..7cb1017a4a 100644 --- a/tests/rest/client/test_report_event.py +++ b/tests/rest/client/test_report_event.py
@@ -77,6 +77,4 @@ class ReportEventTestCase(unittest.HomeserverTestCase): channel = self.make_request( "POST", self.report_path, data, access_token=self.other_user_tok ) - self.assertEqual( - response_status, int(channel.result["code"]), msg=channel.result["body"] - ) + self.assertEqual(response_status, channel.code, msg=channel.result["body"])