summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index 50d1843..4e2047e 100644
--- a/yaksh/test_models.py
+++ b/yaksh/test_models.py
@@ -1896,3 +1896,6 @@ class CourseStatusTestCases(unittest.TestCase):
self.course_status.set_grade()
# Then
self.assertEqual(self.course_status.get_grade(), 'B')
+
+ # Test get course grade after completion
+ self.assertEqual(self.course.get_grade(self.answerpaper1.user), 'B')