From cea145541c33d1d9d4c3006d8f4cbb19534ae251 Mon Sep 17 00:00:00 2001 From: elheit Date: Tue, 29 Oct 2024 06:29:54 +0000 Subject: [PATCH] [IMP] auth_jwt: pre-commit respect ruff configuration settings --- auth_jwt/tests/test_auth_jwt.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/auth_jwt/tests/test_auth_jwt.py b/auth_jwt/tests/test_auth_jwt.py index 20fb59b7cb..3122077cbd 100755 --- a/auth_jwt/tests/test_auth_jwt.py +++ b/auth_jwt/tests/test_auth_jwt.py @@ -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 "