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

Function when_I_call_slides_add_slide

features/steps/slides.py:36–38  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

34
35@when("I call slides.add_slide()")
36def when_I_call_slides_add_slide(context):
37 context.slide_layout = context.prs.slide_masters[0].slide_layouts[0]
38 context.slides.add_slide(context.slide_layout)
39
40
41@when("I call slide_layouts.remove(slide_layouts[1])")

Callers

nothing calls this directly

Calls 1

add_slideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…