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

Method change_hlink_fixture_

tests/text/test_text.py:717–722  ·  view source on GitHub ↗
(self, request, hlink_with_hlinkClick, rId, rId_2, part_, url_2)

Source from the content-addressed store, hash-verified

715
716 @pytest.fixture
717 def change_hlink_fixture_(self, request, hlink_with_hlinkClick, rId, rId_2, part_, url_2):
718 hlinkClick_bldr = an_hlinkClick().with_rId(rId_2)
719 new_rPr_xml = an_rPr().with_nsdecls("a", "r").with_child(hlinkClick_bldr).xml()
720 part_.relate_to.return_value = rId_2
721 property_mock(request, _Hyperlink, "part", return_value=part_)
722 return hlink_with_hlinkClick, rId, url_2, new_rPr_xml
723
724 @pytest.fixture
725 def hlink(self, request, part_):

Callers

nothing calls this directly

Calls 7

an_hlinkClickFunction · 0.85
an_rPrFunction · 0.85
property_mockFunction · 0.85
with_rIdMethod · 0.80
with_childMethod · 0.80
with_nsdeclsMethod · 0.80
xmlMethod · 0.45

Tested by

no test coverage detected