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

Method parent_bldr

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

Source from the content-addressed store, hash-verified

683 # fixture components ---------------------------------------------
684
685 def parent_bldr(self, choice_tag=None):
686 parent_bldr = a_parent().with_nsdecls()
687 if choice_tag == "choice":
688 parent_bldr.with_child(a_choice())
689 if choice_tag == "choice2":
690 parent_bldr.with_child(a_choice2())
691 return parent_bldr
692
693
694# --------------------------------------------------------------------

Callers 1

getter_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