diff options
author | ville <ville@localhost> | 2009-11-16 19:47:41 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2009-11-16 19:47:41 +0000 |
commit | 4431291683e2899d535932d29c727326e0f32c67 (patch) | |
tree | b44f915dc66b60096858eff4c9274efd8f8821f1 /misc/testsuite/lib/TestCase.py | |
parent | eea0ee419d13f277e83aeef8cbf5983f1b780040 (diff) | |
download | markup-validator-4431291683e2899d535932d29c727326e0f32c67.zip markup-validator-4431291683e2899d535932d29c727326e0f32c67.tar.gz markup-validator-4431291683e2899d535932d29c727326e0f32c67.tar.bz2 |
Improve unsuccessful request handling.
Diffstat (limited to 'misc/testsuite/lib/TestCase.py')
-rw-r--r-- | misc/testsuite/lib/TestCase.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/testsuite/lib/TestCase.py b/misc/testsuite/lib/TestCase.py index 15af48e..654f965 100644 --- a/misc/testsuite/lib/TestCase.py +++ b/misc/testsuite/lib/TestCase.py @@ -50,7 +50,9 @@ class ValidatorTestCase(unittest.TestCase): We first remove irrelevant result keys in the validation results, and compare that to the expected results """ - results = self.checker.parse_response(self.checker.call_check(self.docURI)) + (res, err) = self.checker.call_check(self.docURI) + self.assertEqual(err, None) + results = self.checker.parse_response(res) results_filtered = dict() for result_key in self.expectResults.iterkeys(): if results.has_key(result_key): @@ -242,4 +244,4 @@ class ValidatorTestSuite_UT(unittest.TestCase): if __name__ == '__main__': - unittest.main()
\ No newline at end of file + unittest.main() |