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

Method size_get_fixture

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

Source from the content-addressed store, hash-verified

625
626 @pytest.fixture(params=[("a:rPr", None), ("a:rPr{sz=2400}", 304800)])
627 def size_get_fixture(self, request):
628 rPr_cxml, expected_value = request.param
629 font = Font(element(rPr_cxml))
630 return font, expected_value
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):

Callers

nothing calls this directly

Calls 2

FontClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected