diff options
author | CruiseDevice | 2020-09-23 19:23:20 +0530 |
---|---|---|
committer | ankitjavalkar | 2020-10-08 10:42:51 +0530 |
commit | 86a8e2d43294eadf164710589c70bf497f65d801 (patch) | |
tree | d04a55963492abf6de3decdf1d0223cd848c6a4c /yaksh | |
parent | 74366df12bdf352b227540244ee6df35e596007a (diff) | |
download | online_test-86a8e2d43294eadf164710589c70bf497f65d801.tar.gz online_test-86a8e2d43294eadf164710589c70bf497f65d801.tar.bz2 online_test-86a8e2d43294eadf164710589c70bf497f65d801.zip |
Fix tests
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/test_views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |