Client with a temporary agents directory.
(tmp_path)
| 28 | |
| 29 | @pytest.fixture |
| 30 | def test_client(tmp_path): |
| 31 | """Client with a temporary agents directory.""" |
| 32 | app = get_fast_api_app( |
| 33 | agents_dir=str(tmp_path), |
| 34 | web=True, |
| 35 | session_service_uri="", |
| 36 | artifact_service_uri="", |
| 37 | memory_service_uri="", |
| 38 | allow_origins=["*"], |
| 39 | a2a=False, |
| 40 | host="127.0.0.1", |
| 41 | port=8000, |
| 42 | ) |
| 43 | return TestClient(app) |
| 44 | |
| 45 | |
| 46 | def test_list_tests_empty(test_client): |
nothing calls this directly
no test coverage detected