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

Method parent_bldr

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

Source from the content-addressed store, hash-verified

461 # fixture components ---------------------------------------------
462
463 def parent_bldr(self, choice_tag=None):
464 parent_bldr = a_parent().with_nsdecls()
465 if choice_tag == "choice":
466 parent_bldr.with_child(a_choice())
467 if choice_tag == "choice2":
468 parent_bldr.with_child(a_choice2())
469 return parent_bldr
470
471
472# --------------------------------------------------------------------

Callers 1

getter_fixtureMethod · 0.95

Calls 5

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

Tested by

no test coverage detected