()
| 545 | load_calls = 0 |
| 546 | |
| 547 | def fake_load() -> Any: |
| 548 | nonlocal load_calls |
| 549 | load_calls += 1 |
| 550 | return _FakeCredentials(token="adc-token"), "adc-project" |
| 551 | |
| 552 | monkeypatch.setattr("anthropic.lib.google_cloud._client._load_adc_credentials", fake_load) |
| 553 |
nothing calls this directly
no test coverage detected