(tmp_path)
| 35 | |
| 36 | |
| 37 | def test_generator_skill_target_constructs_ok(tmp_path): |
| 38 | kb = _make_kb(tmp_path) |
| 39 | g = Generator( |
| 40 | target_type="skill", |
| 41 | name="demo", |
| 42 | intent="x", |
| 43 | kb_dir=kb, |
| 44 | model="gpt-4o-mini", |
| 45 | ) |
| 46 | assert g.output_dir == kb / "output" / "skills" / "demo" |
| 47 | |
| 48 | |
| 49 | @pytest.mark.asyncio |