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

Method dimensions_get_fixture

tests/shapes/test_base.py:209–215  ·  view source on GitHub ↗
(self, request, width, height)

Source from the content-addressed store, hash-verified

207 ]
208 )
209 def dimensions_get_fixture(self, request, width, height):
210 shape_elm_fixt_name, expect_values = request.param
211 shape_elm = request.getfixturevalue(shape_elm_fixt_name)
212 shape = BaseShape(shape_elm, None)
213 if not expect_values:
214 width = height = None
215 return shape, width, height
216
217 @pytest.fixture(
218 params=[

Callers

nothing calls this directly

Calls 1

BaseShapeClass · 0.90

Tested by

no test coverage detected