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

Method parent_bldr

tests/oxml/test_xmlchemy.py:413–417  ·  view source on GitHub ↗
(self, oomChild_is_present)

Source from the content-addressed store, hash-verified

411 # fixture components ---------------------------------------------
412
413 def parent_bldr(self, oomChild_is_present):
414 parent_bldr = a_parent().with_nsdecls()
415 if oomChild_is_present:
416 parent_bldr.with_child(an_oomChild())
417 return parent_bldr
418
419
420class DescribeOptionalAttribute:

Callers 3

add_fixtureMethod · 0.95
getter_fixtureMethod · 0.95
new_fixtureMethod · 0.95

Calls 4

a_parentFunction · 0.85
an_oomChildFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.45

Tested by

no test coverage detected