espelhamento de
https://github.com/ae-utbm/sith.git
sincronizado 2025-07-11 12:29:24 +00:00
adapt CanAccessLookup
to api key auth
Esse commit está contido em:
@ -68,7 +68,7 @@ class TestUVSearch(TestCase):
|
||||
def test_permissions(self):
|
||||
# Test with anonymous user
|
||||
response = self.client.get(self.url)
|
||||
assert response.status_code == 403
|
||||
assert response.status_code == 401
|
||||
|
||||
# Test with not subscribed user
|
||||
self.client.force_login(baker.make(User))
|
||||
|
Referência em uma nova issue
Block a user