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

Method apply_fixture

tests/shapes/test_freeform.py:496–503  ·  view source on GitHub ↗
(self, builder_)

Source from the content-addressed store, hash-verified

494
495 @pytest.fixture
496 def apply_fixture(self, builder_):
497 x, y = 420, 240
498 path = element("a:path")
499 builder_.shape_offset_x, builder_.shape_offset_y = 100, 200
500
501 line_segment = _LineSegment(builder_, x, y)
502 expected_xml = xml("a:path/a:lnTo/a:pt{x=320,y=40}")
503 return line_segment, path, expected_xml
504
505 @pytest.fixture
506 def new_fixture(self, builder_, _init_):

Callers

nothing calls this directly

Calls 3

_LineSegmentClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected