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

Function test_rag_retrieval_fail

tests/integration/test_tools.py:205–219  ·  view source on GitHub ↗
(agent_runner: TestRunner)

Source from the content-addressed store, hash-verified

203 indirect=True,
204)
205def test_rag_retrieval_fail(agent_runner: TestRunner):
206 _call_function_and_assert(
207 agent_runner,
208 "invalid_rag_retrieval",
209 "What is the testing strategy of agent 2.0?",
210 None,
211 ValueError,
212 )
213 _call_function_and_assert(
214 agent_runner,
215 "non_exist_rag_retrieval",
216 "What is the whether in bay area?",
217 None,
218 ValueError,
219 )
220
221
222@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected