skip disabled external tests

This commit is contained in:
Stefan Kögl
2012-12-21 10:19:31 +01:00
parent 665a38bc95
commit 682fc47b0e

View File

@@ -50,6 +50,10 @@ class TestCaseTemplate(unittest.TestCase):
# incomplete
return
if test.get('disabled', False):
# test is disabled
return
if 'error' in test:
self.assertRaises(
(jsonpatch.JsonPatchException, jsonpatch.JsonPointerException),