(self, comments_part_: Mock)
| 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}")) |
| 193 | comment = Comment(comment_elm, comments_part_) |
| 194 | |
| 195 | assert comment.author == "Steve Canny" |
| 196 | |
| 197 | def it_knows_the_initials_of_its_author(self, comments_part_: Mock): |
| 198 | comment_elm = cast(CT_Comment, element("w:comment{w:id=42,w:initials=SJC}")) |