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

Method setter_fixture

tests/oxml/test_xmlchemy.py:279–283  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

277
278 @pytest.fixture
279 def setter_fixture(self):
280 parent = a_parent().with_nsdecls().with_reqAttr("42").element
281 value = 24
282 expected_xml = a_parent().with_nsdecls().with_reqAttr(value).xml()
283 return parent, value, expected_xml
284
285
286class DescribeZeroOrMore(object):

Callers

nothing calls this directly

Calls 3

a_parentFunction · 0.85
with_nsdeclsMethod · 0.80
xmlMethod · 0.45

Tested by

no test coverage detected