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

Function test_init_api_key_mode

tests/lib/test_aws.py:26–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_init_api_key_mode() -> None:
27 client = AnthropicAWS(api_key="test-key", aws_region="us-east-1", workspace_id="ws-123")
28 assert client.api_key == "test-key"
29 assert client._use_sigv4 is False
30
31
32def test_init_sigv4_explicit_creds() -> None:

Callers

nothing calls this directly

Calls 1

AnthropicAWSClass · 0.90

Tested by

no test coverage detected