MCPcopy Index your code
hub / github.com/python-openxml/python-docx / comments

Method comments

tests/test_comments.py:167–175  ·  view source on GitHub ↗
(self, package_: Mock)

Source from the content-addressed store, hash-verified

165
166 @pytest.fixture
167 def comments(self, package_: Mock) -> Comments:
168 comments_elm = cast(CT_Comments, element("w:comments"))
169 comments_part = CommentsPart(
170 PackURI("/word/comments.xml"),
171 CT.WML_COMMENTS,
172 comments_elm,
173 package_,
174 )
175 return Comments(comments_elm, comments_part)
176
177 @pytest.fixture
178 def package_(self, request: FixtureRequest):

Callers

nothing calls this directly

Calls 4

CommentsPartClass · 0.90
PackURIClass · 0.90
CommentsClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected