MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / fake_load

Function fake_load

tests/lib/test_google_cloud.py:792–795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

790 load_calls = 0
791
792 def fake_load() -> Any:
793 nonlocal load_calls
794 load_calls += 1
795 return _FakeCredentials(token="adc-token"), "adc-project"
796
797 monkeypatch.setattr("anthropic.lib.google_cloud._client._load_adc_credentials", fake_load)
798

Callers

nothing calls this directly

Calls 1

_FakeCredentialsClass · 0.85

Tested by

no test coverage detected