MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / pptx_file

Function pptx_file

tests/unit/test_document_processor.py:32–39  ·  view source on GitHub ↗
(tmp_path_factory)

Source from the content-addressed store, hash-verified

30
31@pytest.fixture(scope="session")
32def pptx_file(tmp_path_factory):
33 from pptx import Presentation
34
35 path = tmp_path_factory.mktemp("docs") / "sample.pptx"
36 prs = Presentation()
37 prs.slides.add_slide(prs.slide_layouts[0])
38 prs.save(path)
39 return path
40
41
42@pytest.fixture(scope="session")

Callers

nothing calls this directly

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected