diff options
author | prathamesh | 2014-06-26 17:51:06 +0530 |
---|---|---|
committer | prathamesh | 2014-06-26 17:51:06 +0530 |
commit | b61c62291424089478064af1fceb81c1ed4e5c54 (patch) | |
tree | 424631d9db8cf4f1ba10fe3ae9cdccec16ce0d43 /testapp/exam/tests.py | |
parent | f50f2a37a0908a05a4da1d03f9e3c776d32df74c (diff) | |
download | online_test-b61c62291424089478064af1fceb81c1ed4e5c54.tar.gz online_test-b61c62291424089478064af1fceb81c1ed4e5c54.tar.bz2 online_test-b61c62291424089478064af1fceb81c1ed4e5c54.zip |
Made pass field as boolean field.
And changed variables to lowercases
Diffstat (limited to 'testapp/exam/tests.py')
-rw-r--r-- | testapp/exam/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/exam/tests.py b/testapp/exam/tests.py index 2cc208a..eb63ba4 100644 --- a/testapp/exam/tests.py +++ b/testapp/exam/tests.py @@ -276,7 +276,7 @@ class AnswerPaperTestCases(unittest.TestCase): def test_update_result(self): """ Test update_result() method of AnswerPaper""" self.answerpaper.update_result() - self.assertEqual(self.answerpaper.result, "FAILED") + self.assertFalse(self.answerpaper.result) def test_get_question_answer(self): """ Test get_question_answer() method of Answer Paper""" |