MCPcopy Create free account
hub / github.com/scanny/python-pptx / call_fixture

Method call_fixture

tests/test_api.py:27–34  ·  view source on GitHub ↗
(self, Package_, prs_, prs_part_)

Source from the content-addressed store, hash-verified

25
26 @pytest.fixture
27 def call_fixture(self, Package_, prs_, prs_part_):
28 path = os.path.abspath(
29 os.path.join(os.path.split(pptx.__file__)[0], "templates", "default.pptx")
30 )
31 Package_.open.return_value.main_document_part = prs_part_
32 prs_part_.content_type = CT.PML_PRESENTATION_MAIN
33 prs_part_.presentation = prs_
34 return Package_, path, prs_
35
36 # fixture components ---------------------------------------------
37

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected