From fb9d0b98a12f1257755392aa839674adeaaee752 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 6 Sep 2021 06:37:47 +1000 Subject: [PATCH 1/4] docs: fix simple typo, raies -> raises There is a small typo in ext_tests.py. Should read `raises` rather than `raies`. --- ext_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_tests.py b/ext_tests.py index 2770c8e..99f4324 100755 --- a/ext_tests.py +++ b/ext_tests.py @@ -65,7 +65,7 @@ def _test(self, test): raise Exception(test.get('comment', '')) from jpe # if there is no 'expected' we only verify that applying the patch - # does not raies an exception + # does not raises an exception if 'expected' in test: self.assertEquals(res, test['expected'], test.get('comment', '')) From 761d530f5d64864af15370eb6e684810b2a676ae Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 9 Sep 2021 06:35:17 +1000 Subject: [PATCH 2/4] Update ext_tests.py --- ext_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext_tests.py b/ext_tests.py index 99f4324..c7e1c4b 100755 --- a/ext_tests.py +++ b/ext_tests.py @@ -65,7 +65,7 @@ def _test(self, test): raise Exception(test.get('comment', '')) from jpe # if there is no 'expected' we only verify that applying the patch - # does not raises an exception + # does not raise an exception if 'expected' in test: self.assertEquals(res, test['expected'], test.get('comment', '')) @@ -86,7 +86,7 @@ def add_test_method(cls, name, test): -modules = ['jsonpatch'] +modules = ['jsonpatch']F coverage_modules = [] From a3809e63dcb7af6d0356a44b395c240ba82e8038 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 10 Sep 2021 20:22:02 +1000 Subject: [PATCH 3/4] Update ext_tests.py --- ext_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_tests.py b/ext_tests.py index c7e1c4b..1fd8d8f 100755 --- a/ext_tests.py +++ b/ext_tests.py @@ -86,7 +86,7 @@ def add_test_method(cls, name, test): -modules = ['jsonpatch']F +modules = ['jsonpatch'] coverage_modules = [] From f8e9bda7b6835cf5ceb581e298a86024fa942796 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 10 Sep 2021 20:22:29 +1000 Subject: [PATCH 4/4] Create ext_tests.py