diff options
author | adityacp | 2018-03-01 19:00:55 +0530 |
---|---|---|
committer | adityacp | 2018-03-21 17:32:41 +0530 |
commit | 65c368a1360a83c2b10458ec61a4b74d9ac8e9f5 (patch) | |
tree | 970a031b18d4fe87eadee2c488ead5f6a6292d45 /yaksh/test_models.py | |
parent | 95f5f27c18380e2fb2f33526c467e822dd10c4d8 (diff) | |
download | online_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.tar.gz online_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.tar.bz2 online_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.zip |
Show student grade in course status page
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r-- | yaksh/test_models.py | 3 |
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') |