MCPcopy Index your code
hub / github.com/google/adk-python / client

Function client

tests/unittests/cli/test_trigger_routes.py:256–269  ·  view source on GitHub ↗

TestClient with all triggers enabled.

(
    mock_session_service,
    mock_artifact_service,
    mock_memory_service,
    mock_agent_loader,
)

Source from the content-addressed store, hash-verified

254
255@pytest.fixture
256def client(
257 mock_session_service,
258 mock_artifact_service,
259 mock_memory_service,
260 mock_agent_loader,
261):
262 """TestClient with all triggers enabled."""
263 return _make_test_client(
264 mock_session_service,
265 mock_artifact_service,
266 mock_memory_service,
267 mock_agent_loader,
268 trigger_sources=["pubsub", "eventarc"],
269 )
270
271
272@pytest.fixture

Callers

nothing calls this directly

Calls 1

_make_test_clientFunction · 0.85

Tested by

no test coverage detected