diff options
author | King | 2019-04-09 17:26:49 +0530 |
---|---|---|
committer | GitHub | 2019-04-09 17:26:49 +0530 |
commit | 82f1fa9f778d85619343bbb79b9faec41696261f (patch) | |
tree | ada2ee83c333ab6fa2cab5b09e94588ab6ab2aa3 /yaksh/test_views.py | |
parent | 0c8b272aa25210d71e03715c1209402d2b770a98 (diff) | |
parent | 54e674c12704013377b9dd6b6c82df526f4e1cdb (diff) | |
download | online_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.py | 2 |
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", |