def test_comment(self): issue = Issue(self.tracker) issue.save() c = Comment(issue) c.save() assert type(issue.comment(c.id)) is Comment assert issue.comment(c.id).fields == c.fields