summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/test_views.py4
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()