mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 10:15:35 -04:00
Use literals in place of HTTPStatus
constants in tests (#13463)
This commit is contained in:
parent
3d2cabf966
commit
e2ed1b7155
18 changed files with 172 additions and 191 deletions
|
@ -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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue