diff options
author | Stefan Kögl <stefan@skoegl.net> | 2013-10-09 18:38:58 +0200 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2013-10-09 18:38:58 +0200 |
commit | bd90a7a39d1307f78ad89103e960d249aafacacb (patch) | |
tree | 75dc4e2c365386973d9ccb3ad3cd6b6bc57f6219 /ext_tests.py | |
parent | c5a5b4864da5a71a2f35d9d59b1406f2241339c9 (diff) | |
download | python-json-patch-bd90a7a39d1307f78ad89103e960d249aafacacb.tar.gz |
exception if patch has multiple "op"s
Diffstat (limited to 'ext_tests.py')
-rwxr-xr-x | ext_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext_tests.py b/ext_tests.py index d7c7585..476f66d 100755 --- a/ext_tests.py +++ b/ext_tests.py @@ -94,7 +94,7 @@ def get_suite(filenames): for testfile in filenames: with open(testfile) as f: - tests = json.load(f) + tests = json.load(f, object_pairs_hook=jsonpatch.multidict) cls = make_test_case(tests) suite.addTest(unittest.makeSuite(cls)) |