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

Method sp_with_off

tests/shapes/test_base.py:556–563  ·  view source on GitHub ↗
(self, left, top)

Source from the content-addressed store, hash-verified

554
555 @pytest.fixture
556 def sp_with_off(self, left, top):
557 return (
558 an_sp()
559 .with_nsdecls()
560 .with_child(
561 an_spPr().with_child(an_xfrm().with_child(an_off().with_x(left).with_y(top)))
562 )
563 ).element
564
565 @pytest.fixture
566 def top(self):

Callers

nothing calls this directly

Calls 6

an_spFunction · 0.85
an_spPrFunction · 0.85
an_xfrmFunction · 0.85
an_offFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.80

Tested by

no test coverage detected