|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | TestCustomTypes |
| class | TestTypeChecker |
Functions | |
| def | equals_2 (checker, instance) |
| def | is_namedtuple (instance) |
| def | is_object_or_named_tuple (checker, instance) |
| def | coerce_named_tuple (fn) |
Variables | |
| required | |
| properties | |
Tests on the new type interface. The actual correctness of the type checking is handled in test_jsonschema_test_suite; these tests check that TypeChecker functions correctly and can facilitate extensions to type checking
| def jsonschema.tests.test_types.coerce_named_tuple | ( | fn | ) |
| def jsonschema.tests.test_types.equals_2 | ( | checker, | |
| instance | |||
| ) |
| def jsonschema.tests.test_types.is_namedtuple | ( | instance | ) |
| def jsonschema.tests.test_types.is_object_or_named_tuple | ( | checker, | |
| instance | |||
| ) |
| properties |
| required |