From 2a19497865a9618a08b06d95a4c7ff1775d10206 Mon Sep 17 00:00:00 2001 From: natthan-pigoux Date: Tue, 5 Nov 2024 16:17:28 +0100 Subject: [PATCH] fix test token not existing --- diracx-core/tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diracx-core/tests/test_utils.py b/diracx-core/tests/test_utils.py index 879958f2..25506669 100644 --- a/diracx-core/tests/test_utils.py +++ b/diracx-core/tests/test_utils.py @@ -272,10 +272,10 @@ def test_get_token_valid_input_credential(): def test_get_token_input_token_not_exists(token_setup): - _, token_location, access_token = token_setup + _, token_location, _ = token_setup result = get_token( location=token_location, - token=access_token, + token=None, token_endpoint="", client_id="ID", verify=False,