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

Function test_before_agent_call

tests/integration/test_callback.py:28–36  ·  view source on GitHub ↗
(agent_runner: TestRunner)

Source from the content-addressed store, hash-verified

26 indirect=True,
27)
28def test_before_agent_call(agent_runner: TestRunner):
29 agent_runner.run("Hi.")
30
31 # Assert the response content
32 assert_agent_says(
33 "End invocation event before agent call.",
34 agent_name="before_agent_callback_agent",
35 agent_runner=agent_runner,
36 )
37
38
39@mark.parametrize(

Callers

nothing calls this directly

Calls 2

assert_agent_saysFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected