summaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-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)