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

Method it_knows_its_partname

tests/opc/test_package.py:414–415  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

412 assert Part(None, None, package_).package is package_
413
414 def it_knows_its_partname(self):
415 assert Part(PackURI("/part/name"), None, None).partname == PackURI("/part/name")
416
417 def it_can_change_its_partname(self):
418 part = Part(PackURI("/old/part/name"), None, None)

Callers

nothing calls this directly

Calls 2

PartClass · 0.90
PackURIClass · 0.90

Tested by

no test coverage detected