We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4340dd commit 8a5d0dcCopy full SHA for 8a5d0dc
jsonschema/tests/test_validators.py
@@ -991,9 +991,9 @@ def test_it_returns_true_for_formats_it_does_not_know_about(self):
991
)
992
validator.validate("bugs")
993
994
- def test_it_does_not_validate_formats_by_default(self):
+ def test_it_validates_formats_by_default(self):
995
validator = self.Validator({})
996
- self.assertIsNone(validator.format_checker)
+ self.assertIsInstance(validator.format_checker, FormatChecker())
997
998
def test_it_validates_formats_if_a_checker_is_provided(self):
999
checker = FormatChecker()
0 commit comments