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

Method parent_bldr

tests/oxml/test_xmlchemy.py:661–665  ·  view source on GitHub ↗
(self, zooChild_is_present)

Source from the content-addressed store, hash-verified

659 # fixture components ---------------------------------------------
660
661 def parent_bldr(self, zooChild_is_present):
662 parent_bldr = a_parent().with_nsdecls()
663 if zooChild_is_present:
664 parent_bldr.with_child(a_zooChild())
665 return parent_bldr
666
667
668class DescribeZeroOrOneChoice:

Callers 4

add_fixtureMethod · 0.95
getter_fixtureMethod · 0.95
get_or_add_fixtureMethod · 0.95
remove_fixtureMethod · 0.95

Calls 4

a_parentFunction · 0.85
a_zooChildFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.45

Tested by

no test coverage detected