diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-11-03 20:58:33 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-11-03 20:58:33 -0400 |
commit | d74d704e34d2cc3d8ce7777d969bef55f5c02d3e (patch) | |
tree | b7e77dfc9b0c4e8e58bdc9e33f8dfc85be377356 | |
parent | 4a2232a882b12101d99584f35cf8b9000bd44c7c (diff) | |
download | jsonschema-d74d704e34d2cc3d8ce7777d969bef55f5c02d3e.tar.gz |
Add in some missing internal draft2019-09 tests.
-rw-r--r-- | jsonschema/tests/test_validators.py | 6 |
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 = {}, {} |