(self, tmp_path)
| 73 | |
| 74 | @pytest.mark.asyncio |
| 75 | async def test_handles_empty_final_output(self, tmp_path): |
| 76 | (tmp_path / "wiki").mkdir() |
| 77 | |
| 78 | mock_result = MagicMock() |
| 79 | mock_result.final_output = None |
| 80 | |
| 81 | with patch("openkb.agent.linter.Runner.run", new_callable=AsyncMock) as mock_run: |
| 82 | mock_run.return_value = mock_result |
| 83 | result = await run_knowledge_lint(tmp_path, "gpt-4o-mini") |
| 84 | |
| 85 | assert "completed" in result.lower() or result != "" |
nothing calls this directly
no test coverage detected