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

Method name_get_fixture

tests/text/test_text.py:604–607  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

602
603 @pytest.fixture(params=[("a:rPr", None), ("a:rPr/a:latin{typeface=Foobar}", "Foobar")])
604 def name_get_fixture(self, request):
605 rPr_cxml, expected_value = request.param
606 font = Font(element(rPr_cxml))
607 return font, expected_value
608
609 @pytest.fixture(
610 params=[

Callers

nothing calls this directly

Calls 2

FontClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected