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

Method parent_bldr

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

Source from the content-addressed store, hash-verified

107 # fixture components ---------------------------------------------
108
109 def parent_bldr(self, choice_tag=None):
110 parent_bldr = a_parent().with_nsdecls()
111 if choice_tag == "choice":
112 parent_bldr.with_child(a_choice())
113 if choice_tag == "choice2":
114 parent_bldr.with_child(a_choice2())
115 return parent_bldr
116
117
118class DescribeOneAndOnlyOne(object):

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_nsdeclsMethod · 0.80
with_childMethod · 0.80

Tested by

no test coverage detected