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

Method bold_get_fixture

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

Source from the content-addressed store, hash-verified

535
536 @pytest.fixture(params=[("a:rPr", None), ("a:rPr{b=0}", False), ("a:rPr{b=1}", True)])
537 def bold_get_fixture(self, request):
538 rPr_cxml, expected_value = request.param
539 font = Font(element(rPr_cxml))
540 return font, expected_value
541
542 @pytest.fixture(
543 params=[

Callers

nothing calls this directly

Calls 2

FontClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected