From bd90a7a39d1307f78ad89103e960d249aafacacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Wed, 9 Oct 2013 18:38:58 +0200 Subject: exception if patch has multiple "op"s --- ext_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext_tests.py') 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)) -- cgit v1.2.1