def test_also_commented_notification(self): post = "A very thoughful comment." also_commented_count = Feed.get_comments(self.feed).count() self.feed.comment(user=self.another_user, post=post) self.user.profile.notify_also_commented(self.feed) new_also_commented_count = Feed.get_comments(self.feed).count() assert also_commented_count < new_also_commented_count