From 773460dcafa8788dbf6825e0056a49df7ed71297 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 17 Mar 2026 08:03:37 -0700 Subject: [PATCH] fix test for pyjwt upgrade --- tests/app/authentication/test_authentication.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/app/authentication/test_authentication.py b/tests/app/authentication/test_authentication.py index 3fcee642b..4c4a34562 100644 --- a/tests/app/authentication/test_authentication.py +++ b/tests/app/authentication/test_authentication.py @@ -242,12 +242,11 @@ def test_decode_jwt_token_returns_error_with_no_secrets(client): def test_requires_auth_should_not_allow_service_id_with_the_wrong_data_type( client, service_jwt_secret, service_id ): - with pytest.raises(TypeError) as exc: - create_jwt_token( - client_id=service_id, - secret=service_jwt_secret, - ) - assert exc.value.short_message == "Foo" + create_jwt_token( + client_id=service_id, + secret=service_jwt_secret, + ) + assert 1 == 0 # request.headers = {"Authorization": "Bearer {}".format(token)} # with pytest.raises(AuthError) as exc: