Module Expr Str ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad body Expr Call Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str TupleLoad AttributeLoad NameLoad attr TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword TupleLoad AttributeLoad NameLoad attr TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call Call AttributeLoad NameLoad attr Str keyword NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad NameLoad attr Str keyword NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign NameStore Call NameLoad Dict Str Str keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
Tests for the parts of jsonschema related to the :validator:`format` property.

 jsonschema.tests.compat mock unittest jsonschema FormatError ValidationError FormatChecker jsonschema.validators Draft4Validator TestFormatChecker N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self fn N/A N/A mock Mock N/A test_it_can_validate_no_formats N/A N/A self N/A N/A N/A checker N/A FormatChecker formats N/A N/A N/A N/A self assertFalse N/A checker checkers N/A test_it_raises_a_key_error_for_unknown_formats N/A N/A self N/A N/A N/A N/A N/A self assertRaises KeyError N/A N/A N/A FormatChecker formats N/A o noes N/A test_it_can_register_cls_checkers N/A N/A self N/A N/A N/A N/A N/A N/A mock patch dict N/A FormatChecker checkers clear True N/A N/A N/A N/A N/A FormatChecker cls_checks new N/A self fn N/A N/A N/A self assertEqual N/A FormatChecker checkers N/A new N/A N/A self fn N/A N/A test_it_can_register_checkers N/A N/A self N/A N/A N/A checker N/A FormatChecker N/A N/A N/A N/A checker checks new N/A self fn N/A N/A N/A self assertEqual N/A checker checkers N/A dict N/A FormatChecker checkers new N/A N/A self fn N/A N/A test_it_catches_registered_errors N/A N/A self N/A N/A N/A checker N/A FormatChecker N/A cause N/A N/A self fn side_effect N/A ValueError N/A N/A N/A N/A checker checks foo raises ValueError N/A self fn N/A N/A N/A self assertRaises FormatError cm N/A N/A N/A N/A checker check bar foo N/A N/A N/A self assertIs N/A N/A cm exception cause cause N/A N/A N/A self assertIs N/A N/A cm exception __cause__ cause N/A N/A N/A self fn side_effect AttributeError N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A checker check bar foo N/A test_format_error_causes_become_validation_error_causes N/A N/A self N/A N/A N/A checker N/A FormatChecker N/A N/A N/A N/A checker checks foo raises ValueError N/A self fn N/A cause N/A N/A self fn side_effect N/A ValueError N/A validator N/A Draft4Validator N/A format foo format_checker checker N/A N/A N/A self assertRaises ValidationError cm N/A N/A N/A N/A validator validate bar N/A N/A N/A self assertIs N/A N/A cm exception __cause__ cause N/A N/A