Skip to content

Commit

Permalink
Random change
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Feb 14, 2024
1 parent 85dbee3 commit fa9dc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def test_should_not_fail_without_sub_claim(self):
resp = self.client.get('/test/', HTTP_AUTHORIZATION=auth)
self.assertEqual(resp.status_code, 200, resp.content)

def test_invalid_kid_should_give_401(self):
def test_invalid_kid_should_give_401_test(self):
auth = 'JWT ' + make_id_token(kid="invalid kid")
resp = self.client.get('/test/', HTTP_AUTHORIZATION=auth)
self.assertEqual(resp.status_code, 401, resp.content)

0 comments on commit fa9dc83

Please sign in to comment.