From df2f49a6d4267b3cccccd66549d54e25bae8e0b6 Mon Sep 17 00:00:00 2001 From: David Aaron Suddjian Date: Sat, 11 Dec 2021 01:32:24 -0800 Subject: [PATCH] 403 works now! --- tests/integration_tests/security/api_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_tests/security/api_tests.py b/tests/integration_tests/security/api_tests.py index 45545c70c403..fcacd7ce668f 100644 --- a/tests/integration_tests/security/api_tests.py +++ b/tests/integration_tests/security/api_tests.py @@ -75,7 +75,7 @@ def test_post_guest_token_unauthorized(self): """ self.login(username="gamma") response = self.client.post(self.uri) - self.assert401(response) + self.assert403(response) def test_post_embed_token_authorized(self): self.login(username="admin")