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

Method it_can_change_its_dash_style

tests/dml/test_line.py:48–56  ·  view source on GitHub ↗
(
        self, spPr_cxml: str, dash_style: MSO_LINE, expected_cxml: str
    )

Source from the content-addressed store, hash-verified

46 ],
47 )
48 def it_can_change_its_dash_style(
49 self, spPr_cxml: str, dash_style: MSO_LINE, expected_cxml: str
50 ):
51 spPr = element(spPr_cxml)
52 line = LineFormat(spPr)
53
54 line.dash_style = dash_style
55
56 assert spPr.xml == xml(expected_cxml)
57
58 def it_knows_its_width(self, width_get_fixture):
59 line, expected_line_width = width_get_fixture

Callers

nothing calls this directly

Calls 3

LineFormatClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected