MCPcopy Index your code
hub / github.com/simstudioai/sim / test_set_api_key

Function test_set_api_key

packages/python-sdk/tests/test_client.py:24–28  ·  view source on GitHub ↗

Test setting a new API key.

()

Source from the content-addressed store, hash-verified

22
23
24def test_set_api_key():
25 """Test setting a new API key."""
26 client = SimStudioClient(api_key="test-api-key")
27 client.set_api_key("new-api-key")
28 assert client.api_key == "new-api-key"
29
30
31def test_set_base_url():

Callers

nothing calls this directly

Calls 2

set_api_keyMethod · 0.95
SimStudioClientClass · 0.90

Tested by

no test coverage detected