summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorprathamesh2018-01-02 16:46:52 +0530
committerprathamesh2018-01-02 16:46:52 +0530
commite14514e01052fb36cd9f14675cbe7ca940945a34 (patch)
tree994f3d5dd6d8c4f3614d3b1a655c91caa7426dcf /yaksh/test_views.py
parent7fe8e17438b8e67e7290f11ddcd29cda3953921b (diff)
downloadonline_test-e14514e01052fb36cd9f14675cbe7ca940945a34.tar.gz
online_test-e14514e01052fb36cd9f14675cbe7ca940945a34.tar.bz2
online_test-e14514e01052fb36cd9f14675cbe7ca940945a34.zip
Allowed user to skip and view solution if the answer is correct.
Added solution attribute to the Question model.
Diffstat (limited to 'yaksh/test_views.py')
-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 38564a1..129378f 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -1226,7 +1226,7 @@ class TestAddQuiz(TestCase):
password=self.user_plaintext_pass
)
tzone = pytz.timezone('UTC')
- response = self.client.post(reverse('yaksh:add_exercise',
+ response = self.client.post(reverse('yaksh:edit_exercise',
kwargs={'quiz_id': self.exercise.id}),
data={
'description': 'updated demo exercise',