File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/toolbox-core/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -398,6 +398,7 @@ def test_tool_init_header_auth_conflict(
398
398
client_headers = conflicting_client_header ,
399
399
)
400
400
401
+
401
402
def test_tool_add_auth_token_getters_conflict_with_existing_client_header (
402
403
http_session : ClientSession ,
403
404
sample_tool_params : list [ParameterSchema ],
@@ -416,7 +417,9 @@ def test_tool_add_auth_token_getters_conflict_with_existing_client_header(
416
417
required_authn_params = {},
417
418
auth_service_token_getters = {},
418
419
bound_params = {},
419
- client_headers = { "X-Shared-Auth-Token_token" : "value_from_initial_client_headers" },
420
+ client_headers = {
421
+ "X-Shared-Auth-Token_token" : "value_from_initial_client_headers"
422
+ },
420
423
)
421
424
new_auth_getters_causing_conflict = {
422
425
"X-Shared-Auth-Token" : lambda : "token_value_from_new_getter"
@@ -427,4 +430,4 @@ def test_tool_add_auth_token_getters_conflict_with_existing_client_header(
427
430
)
428
431
429
432
with pytest .raises (ValueError , match = expected_error_message ):
430
- tool_instance .add_auth_token_getters (new_auth_getters_causing_conflict )
433
+ tool_instance .add_auth_token_getters (new_auth_getters_causing_conflict )
You can’t perform that action at this time.
0 commit comments