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

Method margin_set_fixture

tests/test_table.py:415–419  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

413 ]
414 )
415 def margin_set_fixture(self, request):
416 tc_cxml, margin_prop_name, new_value, expected_tc_cxml = request.param
417 cell = _Cell(element(tc_cxml), None)
418 expected_xml = xml(expected_tc_cxml)
419 return cell, margin_prop_name, new_value, expected_xml
420
421 @pytest.fixture(params=["margin_left", "margin_right", "margin_top", "margin_bottom"])
422 def margin_raises_fixture(self, request):

Callers

nothing calls this directly

Calls 3

_CellClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected