(agent_runner: TestRunner)
| 203 | indirect=True, |
| 204 | ) |
| 205 | def 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( |
nothing calls this directly
no test coverage detected