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

Method getter_fixture

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

Source from the content-addressed store, hash-verified

266
267 @pytest.fixture
268 def getter_fixture(self):
269 parent = a_parent().with_nsdecls().with_reqAttr("42").element
270 return parent, 42
271
272 @pytest.fixture(params=[(None, TypeError), (-4, ValueError), ("2", TypeError)])
273 def invalid_assign_fixture(self, request):

Callers

nothing calls this directly

Calls 2

a_parentFunction · 0.85
with_nsdeclsMethod · 0.80

Tested by

no test coverage detected