summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-11-03 20:58:33 -0400
committerJulian Berman <Julian@GrayVines.com>2021-11-03 20:58:33 -0400
commitd74d704e34d2cc3d8ce7777d969bef55f5c02d3e (patch)
treeb7e77dfc9b0c4e8e58bdc9e33f8dfc85be377356
parent4a2232a882b12101d99584f35cf8b9000bd44c7c (diff)
downloadjsonschema-d74d704e34d2cc3d8ce7777d969bef55f5c02d3e.tar.gz
Add in some missing internal draft2019-09 tests.
-rw-r--r--jsonschema/tests/test_validators.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/jsonschema/tests/test_validators.py b/jsonschema/tests/test_validators.py
index 192d327..429f868 100644
--- a/jsonschema/tests/test_validators.py
+++ b/jsonschema/tests/test_validators.py
@@ -1701,6 +1701,12 @@ class TestDraft7Validator(ValidatorTestMixin, TestCase):
invalid = {"type": "integer"}, "foo"
+class TestDraft201909Validator(ValidatorTestMixin, TestCase):
+ Validator = validators.Draft201909Validator
+ valid = {}, {}
+ invalid = {"type": "integer"}, "foo"
+
+
class TestDraft202012Validator(ValidatorTestMixin, TestCase):
Validator = validators.Draft202012Validator
valid = {}, {}