@@ -424,9 +424,7 @@ def resolve(payload):
424424 return resolved
425425
426426 monkeypatch .setattr (
427- invocation_settings_transport ._invocation_settings_contract ,
428- "resolve_invocation_settings" ,
429- resolve ,
427+ invocation_settings_transport , "resolve_invocation_settings" , resolve
430428 )
431429
432430 recorder , response = _post_invoke ({"invocation_settings" : opaque_payload })
@@ -442,7 +440,7 @@ def resolve(_payload):
442440 resolver_threads .append (get_ident ())
443441 return {"model" : "m" }
444442
445- monkeypatch .setattr (invocation_settings_transport , "_resolve_invocation_settings " , resolve )
443+ monkeypatch .setattr (invocation_settings_transport , "resolve_invocation_settings " , resolve )
446444
447445 recorder , response = _post_invoke ({"invocation_settings" : {"opaque" : "payload" }})
448446
@@ -461,7 +459,7 @@ def test_resolution_failure_uses_blame_for_http_status(
461459 def fail (_payload ):
462460 raise _ResolutionFailure (blame )
463461
464- monkeypatch .setattr (invocation_settings_transport , "_resolve_invocation_settings " , fail )
462+ monkeypatch .setattr (invocation_settings_transport , "resolve_invocation_settings " , fail )
465463
466464 recorder , response = _post_invoke ({"invocation_settings" : {"opaque" : "payload" }})
467465
@@ -475,7 +473,7 @@ def test_resolution_failure_never_exposes_exception_message(self, monkeypatch, c
475473 def fail (_payload ):
476474 raise _ResolutionFailure (Blame .RECIPIENT , secret )
477475
478- monkeypatch .setattr (invocation_settings_transport , "_resolve_invocation_settings " , fail )
476+ monkeypatch .setattr (invocation_settings_transport , "resolve_invocation_settings " , fail )
479477
480478 recorder , response = _post_invoke ({"invocation_settings" : {"opaque" : "payload" }})
481479
0 commit comments