Skip to content

Commit

Permalink
[IMP] auth_jwt: pre-commit respect ruff configuration settings
Browse files Browse the repository at this point in the history
  • Loading branch information
elheit committed Oct 29, 2024
1 parent f9ee6e6 commit cea1455
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion auth_jwt/tests/test_auth_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ def test_auth_method_invalid_token_on_chain(self):
self.env["ir.http"]._auth_method_jwt_validator()
self.assertEqual(
str(composite_error.exception),
"401 Unauthorized: Multiple errors occurred during JWT chain validation:\n"
"""
401 Unauthorized: Multiple errors occurred
during JWT chain validation:\
"""
"validator: 401 Unauthorized: "
"The server could not verify that you are authorized to "
"access the URL requested. You either supplied the wrong "
Expand Down

0 comments on commit cea1455

Please sign in to comment.