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

Method parent_bldr

tests/oxml/test_xmlchemy.py:318–324  ·  view source on GitHub ↗
(self, choice_tag=None)

Source from the content-addressed store, hash-verified

316 # fixture components ---------------------------------------------
317
318 def parent_bldr(self, choice_tag=None):
319 parent_bldr = a_parent().with_nsdecls()
320 if choice_tag == "choice":
321 parent_bldr.with_child(a_choice())
322 if choice_tag == "choice2":
323 parent_bldr.with_child(a_choice2())
324 return parent_bldr
325
326
327class DescribeOneAndOnlyOne:

Callers 4

add_fixtureMethod · 0.95
getter_fixtureMethod · 0.95
new_fixtureMethod · 0.95

Calls 5

a_parentFunction · 0.85
a_choiceFunction · 0.85
a_choice2Function · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.45

Tested by

no test coverage detected