def test_like_create(self):
        utils.login(self)
        form_data = {}
        response = self.client.post(reverse('spirit:comment:like:create', kwargs={'comment_id': self.comment.pk, }),
                                    form_data)
        self.assertRedirects(response, self.comment.get_absolute_url(), status_code=302, target_status_code=302)
        self.assertEqual(len(CommentLike.objects.all()), 1)
create like
dataset/ETHPy150Open nitely/Spirit/spirit/comment/like/tests.py/LikeViewTest.test_like_create