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

Function test_skip_auth_async

tests/lib/test_aws.py:183–187  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

181
182
183def test_skip_auth_async(monkeypatch: pytest.MonkeyPatch) -> None:
184 monkeypatch.delenv("ANTHROPIC_AWS_WORKSPACE_ID", raising=False)
185 client = AsyncAnthropicAWS(skip_auth=True, base_url="https://custom.example.com")
186 assert client._skip_auth is True
187 assert client._use_sigv4 is False
188
189
190@pytest.mark.filterwarnings("ignore::DeprecationWarning")

Callers

nothing calls this directly

Calls 1

AsyncAnthropicAWSClass · 0.90

Tested by

no test coverage detected