schema_salad.tests.test_examples
Test examples.
Module Contents
Functions
|
Test that bad $schemas refs don't stop parsing. |
|
Test that (bad) $schemas refs are properly skipped. |
Test --print-rdf. |
|
Test --print-rdf when document references unfetchable external schema. |
|
Test --print-pre only schema. |
|
Test --print-pre. |
|
Test --print-index only with a schema. |
|
Test --print-index. |
|
Test --print-metadata only for a schema. |
|
Test --print-metadata. |
|
Test schema-salad-doc when the 1st type has only a single doc line. |
|
Affirm that datetime objects can be serialized in makerdf(). |
|
Affirm that yaml_no_ts prevents the creation of datetime objects. |
|
Test that 'type: Any' can be used |
|
- schema_salad.tests.test_examples.test_schemas()
- Return type:
None
- schema_salad.tests.test_examples.test_bad_schemas(caplog)
Test that bad $schemas refs don’t stop parsing.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_examples.test_skip_bad_schemas(caplog)
Test that (bad) $schemas refs are properly skipped.
- Parameters:
caplog (pytest.LogCaptureFixture) –
- Return type:
None
- schema_salad.tests.test_examples.test_self_validate()
- Return type:
None
- schema_salad.tests.test_examples.test_print_rdf()
Test –print-rdf.
- Return type:
None
- schema_salad.tests.test_examples.test_print_rdf_invalid_external_ref()
Test –print-rdf when document references unfetchable external schema.
- Return type:
None
- schema_salad.tests.test_examples.test_print_pre_schema()
Test –print-pre only schema.
- Return type:
None
- schema_salad.tests.test_examples.test_print_pre()
Test –print-pre.
- Return type:
None
- schema_salad.tests.test_examples.test_print_schema_index()
Test –print-index only with a schema.
- Return type:
None
- schema_salad.tests.test_examples.test_print_index()
Test –print-index.
- Return type:
None
- schema_salad.tests.test_examples.test_print_schema_metadata()
Test –print-metadata only for a schema.
- Return type:
None
- schema_salad.tests.test_examples.test_print_metadata()
Test –print-metadata.
- Return type:
None
- schema_salad.tests.test_examples.test_schema_salad_doc_oneline_doc()
Test schema-salad-doc when the 1st type has only a single doc line.
- Return type:
None
- schema_salad.tests.test_examples.test_avro_regression()
- Return type:
None
- schema_salad.tests.test_examples.test_jsonld_ctx()
- Return type:
None
- schema_salad.tests.test_examples.test_idmap()
- Return type:
None
- schema_salad.tests.test_examples.test_scoped_ref()
- Return type:
None
- schema_salad.tests.test_examples.test_examples()
- Return type:
None
- schema_salad.tests.test_examples.test_yaml_float_test()
- Return type:
None
- schema_salad.tests.test_examples.test_typedsl_ref()
- Return type:
None
- schema_salad.tests.test_examples.test_nested_typedsl_ref()
- Return type:
None
- schema_salad.tests.test_examples.test_secondaryFile_dsl_ref()
- Return type:
None
- schema_salad.tests.test_examples.test_scoped_id()
- Return type:
None
- schema_salad.tests.test_examples.test_rdf_datetime()
Affirm that datetime objects can be serialized in makerdf().
- Return type:
None
- schema_salad.tests.test_examples.test_yaml_datetime()
Affirm that yaml_no_ts prevents the creation of datetime objects.
- Return type:
None
- schema_salad.tests.test_examples.test_subscoped_id()
- Return type:
None
- schema_salad.tests.test_examples.test_mixin()
- Return type:
None
- schema_salad.tests.test_examples.test_fragment()
- Return type:
None
- schema_salad.tests.test_examples.test_file_uri()
- Return type:
None
- schema_salad.tests.test_examples.test_sourceline()
- Return type:
None
- schema_salad.tests.test_examples.test_cmap()
- Return type:
None
- schema_salad.tests.test_examples.test_blank_node_id()
- Return type:
None
- schema_salad.tests.test_examples.test_can_use_Any()
Test that ‘type: Any’ can be used
- Return type:
None
- schema_salad.tests.test_examples.test_nullable_links()
- Return type:
None