()
| 130 | |
| 131 | @pytest.mark.asyncio |
| 132 | async def test_grade_one_handles_mixed_case(): |
| 133 | async def fake_runner(*args, **kwargs): |
| 134 | return SimpleNamespace(final_output="trigger") |
| 135 | |
| 136 | with patch("openkb.skill.evaluator.Runner.run", new=AsyncMock(side_effect=fake_runner)): |
| 137 | out = await grade_one("desc", "question?", model="gpt-4o-mini") |
| 138 | assert out == "trigger" |
| 139 | |
| 140 | |
| 141 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected