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

Function given_a_Run_object_as_run

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

Source from the content-addressed store, hash-verified

44
45@given("a _Run object as run")
46def given_a_Run_object_as_run(context):
47 prs = Presentation(test_pptx("txt-text"))
48 context.run = prs.slides[0].shapes[0].text_frame.paragraphs[0].runs[0]
49
50
51@given("a _Run object containing text as run")

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…