mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 03:22:15 -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
|
@ -314,4 +314,4 @@ class ServerAclValidationTestCase(unittest.HomeserverTestCase):
|
|||
channel = self.make_request(
|
||||
"POST", path, content={}, access_token=self.access_token
|
||||
)
|
||||
self.assertEqual(int(channel.result["code"]), 403)
|
||||
self.assertEqual(channel.code, 403)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue