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

Method size_set_fixture

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

Source from the content-addressed store, hash-verified

631
632 @pytest.fixture(params=[("a:rPr", Pt(24), "a:rPr{sz=2400}"), ("a:rPr{sz=2400}", None, "a:rPr")])
633 def size_set_fixture(self, request):
634 rPr_cxml, new_value, expected_rPr_cxml = request.param
635 font = Font(element(rPr_cxml))
636 expected_xml = xml(expected_rPr_cxml)
637 return font, new_value, expected_xml
638
639 @pytest.fixture(
640 params=[

Callers

nothing calls this directly

Calls 3

FontClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected