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

Function test_nl_planner

tests/integration/test_system_instruction.py:146–157  ·  view source on GitHub ↗
(agent_runner: TestRunner)

Source from the content-addressed store, hash-verified

144 indirect=True,
145)
146def test_nl_planner(agent_runner: TestRunner):
147 session = Session(context={"customerId": "1234567890"})
148 si = UnitFlow()._build_system_instruction(
149 InvocationContext(
150 invocation_id="1234567890",
151 agent=agent_runner.agent,
152 session=session,
153 )
154 )
155
156 for line in nl_planner_si.splitlines():
157 assert line in si
158
159
160@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

SessionClass · 0.90
InvocationContextClass · 0.90

Tested by

no test coverage detected