schema_salad.tests.test_errors
Tests of helpful error messages.
Module Contents
Functions
Confirm helpful error message when $namespaces is the wrong type. |
|
|
Confirm warning message a namespace is used but not declared. |
|
Confirm no warning when relative id contains a colon but prefix doesn't look like a namespace. |
|
Confirm no warning when relative id contains a colon but prefix doesn't look like a namespace. |
|
Confirm no warning when relative id starts with a colon. |
Confirm helpful error message when $schemas is the wrong type. |
- schema_salad.tests.test_errors.test_errors()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message1()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message2()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message3()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message4()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message5()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message7()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message8()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message9()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message10()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message11()
- Return type:
None
- schema_salad.tests.test_errors.test_error_message15()
- Return type:
None
- schema_salad.tests.test_errors.test_errors_previously_defined_dict_key()
- Return type:
None
- schema_salad.tests.test_errors.test_bad_schema()
- Return type:
None
- schema_salad.tests.test_errors.test_bad_schema2()
- Return type:
None
- schema_salad.tests.test_errors.test_namespaces_type()
Confirm helpful error message when $namespaces is the wrong type.
- Return type:
None
- schema_salad.tests.test_errors.test_namespaces_undeclared(caplog)
Confirm warning message a namespace is used but not declared.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_errors.test_not_a_namespace1(caplog)
Confirm no warning when relative id contains a colon but prefix doesn’t look like a namespace.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_errors.test_not_a_namespace2(caplog)
Confirm no warning when relative id contains a colon but prefix doesn’t look like a namespace.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_errors.test_not_a_namespace3(caplog)
Confirm no warning when relative id starts with a colon.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_errors.test_schemas_type()
Confirm helpful error message when $schemas is the wrong type.
- Return type:
None