MCPcopy Index your code
hub / github.com/python-openxml/python-docx / given_a_run

Function given_a_run

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

Source from the content-addressed store, hash-verified

19
20@given("a run")
21def given_a_run(context):
22 document = Document()
23 run = document.add_paragraph().add_run()
24 context.document = document
25 context.run = run
26
27
28@given("a run having {bool_prop_name} set on")

Callers

nothing calls this directly

Calls 3

add_paragraphMethod · 0.95
DocumentFunction · 0.90
add_runMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…