diff options
author | mahesh | 2016-05-03 15:13:58 +0530 |
---|---|---|
committer | mahesh | 2016-05-04 11:52:01 +0530 |
commit | aa8b9a89eba24d96d51884b9b7d74a8e916dae10 (patch) | |
tree | 976d829dff9f9919138ba9175a7be15f4aafce5a /yaksh | |
parent | 7746a43a84b58b3234553f458e146d7294e8e4f8 (diff) | |
download | online_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.tar.gz online_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.tar.bz2 online_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.zip |
modified test_set_marks test case method
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py index 1a5c8ee..d3ff4fc 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -383,6 +383,8 @@ class AnswerPaperTestCases(unittest.TestCase): def test_set_marks (self): self.answer_wrong.set_marks(0.5) self.assertEqual(self.answer_wrong.marks, 0.5) + self.answer_wrong.set_marks(10.0) + self.assertEqual(self.answer_wrong.marks,1.0) ############################################################################### |