(skill_name, intent, **kw)
| 61 | kb_dir = _make_kb(tmp_path) |
| 62 | |
| 63 | async def fake_skill(skill_name, intent, **kw): |
| 64 | if skill_name == DEFAULT_DECK_SKILL: |
| 65 | _write_index(kb_dir, "test-deck") |
| 66 | return _producer_result(kb_dir, "test-deck") |
| 67 | return _critic_result() |
| 68 | |
| 69 | with patch("openkb.deck.creator.run_skill", new=AsyncMock(side_effect=fake_skill)) as run_skill: |
| 70 | result = await run_deck_create( |
nothing calls this directly
no test coverage detected