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

Method width_set_fixture

tests/dml/test_line.py:123–128  ·  view source on GitHub ↗
(self, request, shape_)

Source from the content-addressed store, hash-verified

121 ]
122 )
123 def width_set_fixture(self, request, shape_):
124 initial_width, width = request.param
125 shape_.ln = shape_.get_or_add_ln.return_value = self.ln_bldr(initial_width).element
126 line = LineFormat(shape_)
127 expected_xml = self.ln_bldr(width).xml()
128 return line, width, expected_xml
129
130 # fixture components ---------------------------------------------
131

Callers

nothing calls this directly

Calls 3

ln_bldrMethod · 0.95
LineFormatClass · 0.90
xmlMethod · 0.45

Tested by

no test coverage detected