skip disabled external tests
This commit is contained in:
@@ -50,6 +50,10 @@ class TestCaseTemplate(unittest.TestCase):
|
|||||||
# incomplete
|
# incomplete
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if test.get('disabled', False):
|
||||||
|
# test is disabled
|
||||||
|
return
|
||||||
|
|
||||||
if 'error' in test:
|
if 'error' in test:
|
||||||
self.assertRaises(
|
self.assertRaises(
|
||||||
(jsonpatch.JsonPatchException, jsonpatch.JsonPointerException),
|
(jsonpatch.JsonPatchException, jsonpatch.JsonPointerException),
|
||||||
|
|||||||
Reference in New Issue
Block a user