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

Function given_a_text_run_having_a_hyperlink

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

Source from the content-addressed store, hash-verified

69
70@given("a text run having a hyperlink")
71def given_a_text_run_having_a_hyperlink(context):
72 prs = Presentation(test_pptx("txt-text"))
73 context.run = prs.slides[0].shapes[0].text_frame.paragraphs[1].runs[0]
74
75
76# when ====================================================

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…