summaryrefslogtreecommitdiffstats
path: root/misc/testsuite/lib/TestCase.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/testsuite/lib/TestCase.py')
-rw-r--r--misc/testsuite/lib/TestCase.py6
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()