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

Method parent_bldr

tests/oxml/test_xmlchemy.py:352–356  ·  view source on GitHub ↗
(self, zomChild_is_present)

Source from the content-addressed store, hash-verified

350 return parent, expected_xml
351
352 def parent_bldr(self, zomChild_is_present):
353 parent_bldr = a_parent().with_nsdecls()
354 if zomChild_is_present:
355 parent_bldr.with_child(a_zomChild())
356 return parent_bldr
357
358
359class DescribeZeroOrOne(object):

Callers 3

add_fixtureMethod · 0.95
getter_fixtureMethod · 0.95
new_fixtureMethod · 0.95

Calls 4

a_parentFunction · 0.85
a_zomChildFunction · 0.85
with_nsdeclsMethod · 0.80
with_childMethod · 0.80

Tested by

no test coverage detected