summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorKing2019-04-09 17:26:49 +0530
committerGitHub2019-04-09 17:26:49 +0530
commit82f1fa9f778d85619343bbb79b9faec41696261f (patch)
treeada2ee83c333ab6fa2cab5b09e94588ab6ab2aa3 /yaksh/test_views.py
parent0c8b272aa25210d71e03715c1209402d2b770a98 (diff)
parent54e674c12704013377b9dd6b6c82df526f4e1cdb (diff)
downloadonline_test-82f1fa9f778d85619343bbb79b9faec41696261f.tar.gz
online_test-82f1fa9f778d85619343bbb79b9faec41696261f.tar.bz2
online_test-82f1fa9f778d85619343bbb79b9faec41696261f.zip
Merge pull request #592 from ankitjavalkar/add-prereq-passing-check
Add functionality to restrict access to next module based on passing previous module
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 4c1f5b9..ee7c911 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -1937,7 +1937,7 @@ class TestCourses(TestCase):
# Create a learning module to add to course
self.learning_module = LearningModule.objects.create(
order=0, name="test module", description="module",
- check_prerequisite=False, creator=self.teacher)
+ check_prerequisite=True, creator=self.teacher)
self.user1_course = Course.objects.create(
name="Python Course",