mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-01 02:56:31 -05: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