summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Nikitin <a.nikitin@edadeal.ru>2020-11-16 16:05:00 +0300
committerArtyom Nikitin <a.nikitin@edadeal.ru>2020-11-16 16:05:00 +0300
commitc37b40ffec5674bf76bbb2197917e528e74b4552 (patch)
tree294816d85b1a95d23c992a7724795eae73425f14
parent0b680ea87afc6e747fc584aaef513815de0c52c3 (diff)
downloadpython-json-patch-c37b40ffec5674bf76bbb2197917e528e74b4552.tar.gz
test: update
-rwxr-xr-xtests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests.py b/tests.py
index ec4758d..941c685 100755
--- a/tests.py
+++ b/tests.py
@@ -728,6 +728,7 @@ class CustomJsonPointerTests(unittest.TestCase):
self.assertEqual(patch.pointer_cls, self.CustomJsonPointer)
self.assertTrue(patch._ops)
for op in patch._ops:
+ self.assertIsInstance(op.pointer, self.CustomJsonPointer)
self.assertEqual(op.pointer_cls, self.CustomJsonPointer)
def test_operations(self):
@@ -744,6 +745,7 @@ class CustomJsonPointerTests(unittest.TestCase):
self.assertEqual(patch.pointer_cls, self.CustomJsonPointer)
self.assertTrue(patch._ops)
for op in patch._ops:
+ self.assertIsInstance(op.pointer, self.CustomJsonPointer)
self.assertEqual(op.pointer_cls, self.CustomJsonPointer)