()
| 381 | respx_mock.post(re.compile(r"https://example\.test/.*")).mock(return_value=httpx.Response(200, json={"foo": "bar"})) |
| 382 | |
| 383 | def _fail() -> Any: |
| 384 | raise AssertionError("ADC discovery must not run when an explicit credential source is set") |
| 385 | |
| 386 | monkeypatch.setattr("anthropic.lib.google_cloud._client._load_adc_credentials", _fail) |
| 387 |
nothing calls this directly
no outgoing calls
no test coverage detected