diff options
author | Stefan Kögl <stefan@skoegl.net> | 2012-12-21 10:19:31 +0100 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2012-12-21 10:19:31 +0100 |
commit | 682fc47b0e0d847156c36b0ae96b1bc15b65eed2 (patch) | |
tree | e6f7c7d25b762a2cc7124ad4d60f0b5831d95aa6 | |
parent | 665a38bc9523a13d0be5485c30a4556ba783c1c7 (diff) | |
download | python-json-patch-682fc47b0e0d847156c36b0ae96b1bc15b65eed2.tar.gz |
skip disabled external tests
-rwxr-xr-x | ext_tests.py | 4 |
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), |