summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authoradityacp2017-08-22 12:25:47 +0530
committeradityacp2017-08-22 12:25:47 +0530
commitd6c4d44dca8520926fd781b87e35ecd7843e515c (patch)
treed2fbd682d16570d6ac3e35049046b0c0dbd20aaa /yaksh
parentdade8a89e3e3f882aa05f974feed1b7248fd6de8 (diff)
downloadonline_test-d6c4d44dca8520926fd781b87e35ecd7843e515c.tar.gz
online_test-d6c4d44dca8520926fd781b87e35ecd7843e515c.tar.bz2
online_test-d6c4d44dca8520926fd781b87e35ecd7843e515c.zip
Change test_views for send mail test
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index 763f5ff..f8a7c87 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -1897,7 +1897,7 @@ class TestCourseDetail(TestCase):
)
self.assertEqual(get_response.status_code, 200)
self.assertEqual(get_response.context['course'], self.user1_course)
- self.assertEqual(get_response.context['status'], 'mail')
+ self.assertEqual(get_response.context['state'], 'mail')
class TestEnrollRequest(TestCase):