MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_generator_deck_output_dir_is_decks

Function test_generator_deck_output_dir_is_decks

tests/test_generator.py:119–128  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

117
118@pytest.mark.asyncio
119async def test_generator_deck_output_dir_is_decks(tmp_path):
120 gen = Generator(
121 target_type="deck",
122 name="my-deck",
123 intent="…",
124 kb_dir=tmp_path,
125 model="openai/gpt-4o",
126 critique=False,
127 )
128 assert gen.output_dir == tmp_path / "output" / "decks" / "my-deck"
129
130
131def test_generator_rejects_podcast_target_type(tmp_path):

Callers

nothing calls this directly

Calls 1

GeneratorClass · 0.90

Tested by

no test coverage detected