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

Method setup_method

tests/unittests/test_runners.py:1428–1438  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

1426 """Tests for Runner._should_append_event method."""
1427
1428 def setup_method(self):
1429 """Set up test fixtures."""
1430 self.session_service = InMemorySessionService()
1431 self.artifact_service = InMemoryArtifactService()
1432 self.root_agent = MockLlmAgent("root_agent")
1433 self.runner = Runner(
1434 app_name="test_app",
1435 agent=self.root_agent,
1436 session_service=self.session_service,
1437 artifact_service=self.artifact_service,
1438 )
1439
1440 def test_should_append_event_finished_input_transcription(self):
1441 event = Event(

Callers

nothing calls this directly

Calls 4

RunnerClass · 0.90
MockLlmAgentClass · 0.85

Tested by

no test coverage detected