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

Method language_id_set_fixture

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

Source from the content-addressed store, hash-verified

595 ]
596 )
597 def language_id_set_fixture(self, request):
598 rPr_cxml, new_value, expected_rPr_cxml = request.param
599 font = Font(element(rPr_cxml))
600 expected_xml = xml(expected_rPr_cxml)
601 return font, new_value, expected_xml
602
603 @pytest.fixture(params=[("a:rPr", None), ("a:rPr/a:latin{typeface=Foobar}", "Foobar")])
604 def name_get_fixture(self, request):

Callers

nothing calls this directly

Calls 3

FontClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected