def test_like_delete_comment_decrease_likes_count(self):
        utils.login(self)
        comment = utils.create_comment(topic=self.topic, likes_count=1)
        like = CommentLike.objects.create(user=self.user, comment=comment)
        form_data = {}
        response = self.client.post(reverse('spirit:comment:like:delete', kwargs={'pk': like.pk, }),
                                    form_data)
        self.assertEqual(response.status_code, 302)
        self.assertEqual(Comment.objects.get(pk=comment.pk).likes_count, 0)
Should decrease the comment's likes_count
dataset/ETHPy150Open nitely/Spirit/spirit/comment/like/tests.py/LikeViewTest.test_like_delete_comment_decrease_likes_count