summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormahesh2016-05-03 15:13:58 +0530
committermahesh2016-05-04 11:52:01 +0530
commitaa8b9a89eba24d96d51884b9b7d74a8e916dae10 (patch)
tree976d829dff9f9919138ba9175a7be15f4aafce5a
parent7746a43a84b58b3234553f458e146d7294e8e4f8 (diff)
downloadonline_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.tar.gz
online_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.tar.bz2
online_test-aa8b9a89eba24d96d51884b9b7d74a8e916dae10.zip
modified test_set_marks test case method
-rw-r--r--yaksh/tests.py2
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)
###############################################################################