From aa8b9a89eba24d96d51884b9b7d74a8e916dae10 Mon Sep 17 00:00:00 2001 From: mahesh Date: Tue, 3 May 2016 15:13:58 +0530 Subject: modified test_set_marks test case method --- yaksh/tests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/tests.py') 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) ############################################################################### -- cgit