◆ test_checks_can_be_added_at_init()
def test_checks_can_be_added_at_init |
( |
|
self | ) |
|
◆ test_is_type()
◆ test_is_unknown_type()
def test_is_unknown_type |
( |
|
self | ) |
|
◆ test_redefine_existing_type()
def test_redefine_existing_type |
( |
|
self | ) |
|
◆ test_redefine_many()
def test_redefine_many |
( |
|
self | ) |
|
◆ test_remove()
◆ test_remove_multiple()
def test_remove_multiple |
( |
|
self | ) |
|
◆ test_remove_unknown_type()
def test_remove_unknown_type |
( |
|
self | ) |
|
◆ test_type_check_can_raise_key_error()
def test_type_check_can_raise_key_error |
( |
|
self | ) |
|
Make sure no one writes:
try:
self._type_checkers[type](...)
except KeyError:
ignoring the fact that the function itself can raise that.
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/jsonschema/tests/test_types.py