def METHOD_NAME(self):
    user = User.objects.create(username="testuser")
    path = "/some/path/"
    text = "This is a comment."
    target = baker.make('announcements.Announcement')
    parent = Comment.objects.create(user=user, text="Parent Comment", path="/some/parent/")
    comment = Comment.objects.create_comment(user=user, text=text, path=path, target=target, parent=parent)
    self.assertEqual(comment.user, user)
    self.assertEqual(comment.text, text)
    self.assertEqual(comment.path, path + "#comment-" + str(comment.id))
    self.assertEqual(comment.target_content_type, ContentType.objects.get_for_model(target))
    self.assertEqual(comment.target_object_id, target.id)
    self.assertEqual(comment.parent, parent)