MCPcopy Create free account
hub / github.com/agentrpc/agentrpc / test_client_init

Function test_client_init

sdk-python/tests/test_client.py:14–21  ·  view source on GitHub ↗

Test client initialization.

()

Source from the content-addressed store, hash-verified

12
13
14def test_client_init():
15 """Test client initialization."""
16 client = AgentRPC(api_secret, api_endpoint)
17
18 # Check that properties are set correctly
19 assert client._AgentRPC__api_secret == api_secret
20 assert client._AgentRPC__endpoint == api_endpoint
21 assert client._AgentRPC__http_client is not None
22
23
24def test_client_openai_completions_get_tools():

Callers

nothing calls this directly

Calls 1

AgentRPCClass · 0.90

Tested by

no test coverage detected