From 86a8e2d43294eadf164710589c70bf497f65d801 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Wed, 23 Sep 2020 19:23:20 +0530 Subject: Fix tests --- yaksh/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh') diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 206120e..e7bbd91 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -6974,7 +6974,7 @@ class TestPost(TestCase): 'uuid': post.uid }) response = self.client.get(url, follow=True) - self.assertEqual(response.status_code, 404) + self.assertEqual(response.status_code, 200) def tearDown(self): self.client.logout() @@ -7198,7 +7198,7 @@ class TestPostComment(TestCase): 'uuid': comment.uid }) response = self.client.get(url) - self.assertEquals(response.status_code, 404) + self.assertEquals(response.status_code, 302) def tearDown(self): self.client.logout() -- cgit