(self, Package_, prs_, prs_part_)
| 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 |