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

Function given_a_Paragraph_object_as_paragraph

features/steps/text.py:16–18  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

14
15@given("a _Paragraph object as paragraph")
16def given_a_Paragraph_object_as_paragraph(context):
17 prs = Presentation(test_pptx("txt-text"))
18 context.paragraph = prs.slides[0].shapes[0].text_frame.paragraphs[0]
19
20
21@given("a _Paragraph object containing {value} as paragraph")

Callers

nothing calls this directly

Calls 2

PresentationFunction · 0.90
test_pptxFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…