(self, comments_part_: Mock)
| 183 | """Unit-test suite for `docx.comments.Comment`.""" |
| 184 | |
| 185 | def it_knows_its_comment_id(self, comments_part_: Mock): |
| 186 | comment_elm = cast(CT_Comment, element("w:comment{w:id=42}")) |
| 187 | comment = Comment(comment_elm, comments_part_) |
| 188 | |
| 189 | assert comment.comment_id == 42 |
| 190 | |
| 191 | def it_knows_its_author(self, comments_part_: Mock): |
| 192 | comment_elm = cast(CT_Comment, element("w:comment{w:id=42,w:author=Steve Canny}")) |