From bfc3f08d5da08f774e76aa169a50f8e7847ff6ed Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 19 Jan 2018 15:58:06 +0530 Subject: Change in views and templates - Add active field for exercise form - Fix views test case for creating exercise - Show question paper for exercise --- yaksh/test_views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/test_views.py') diff --git a/yaksh/test_views.py b/yaksh/test_views.py index dad5e89..0b43079 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -1230,6 +1230,7 @@ class TestAddQuiz(TestCase): kwargs={'quiz_id': self.exercise.id}), data={ 'description': 'updated demo exercise', + 'active': True } ) @@ -1257,6 +1258,7 @@ class TestAddQuiz(TestCase): response = self.client.post(reverse('yaksh:add_exercise'), data={ 'description': "Demo Exercise", + 'active': True } ) quiz_list = Quiz.objects.all().order_by('-id') -- cgit