summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2012-12-21 10:19:31 +0100
committerStefan Kögl <stefan@skoegl.net>2012-12-21 10:19:31 +0100
commit682fc47b0e0d847156c36b0ae96b1bc15b65eed2 (patch)
treee6f7c7d25b762a2cc7124ad4d60f0b5831d95aa6
parent665a38bc9523a13d0be5485c30a4556ba783c1c7 (diff)
downloadpython-json-patch-682fc47b0e0d847156c36b0ae96b1bc15b65eed2.tar.gz
skip disabled external tests
-rwxr-xr-xext_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext_tests.py b/ext_tests.py
index ade3cbf..0b6caa6 100755
--- a/ext_tests.py
+++ b/ext_tests.py
@@ -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),