diff --git a/auth_jwt/tests/test_auth_jwt.py b/auth_jwt/tests/test_auth_jwt.py index f214459c53..2d9296e023 100644 --- a/auth_jwt/tests/test_auth_jwt.py +++ b/auth_jwt/tests/test_auth_jwt.py @@ -200,7 +200,7 @@ 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:" + "401 Unauthorized: " + "Multiple errors occurred during JWT chain validation:\n" "validator: 401 Unauthorized: " "The server could not verify that you are authorized to "