bidsschematools.tests.test_render_tables

Tests for the bidsschematools package.

Functions

bidsschematools.tests.test_render_tables.test_make_columns_table(schema_obj)

Test whether expected columns are present and the requirement level is applied correctly. This should be robust with respect to schema format.

bidsschematools.tests.test_render_tables.test_make_entity_table(schema_obj)

Test whether expected entities are present and listed correctly. This should be robust with respect to schema format.

bidsschematools.tests.test_render_tables.test_make_metadata_table(schema_obj)

Test whether expected metadata fields are present and the requirement level is applied correctly. This should be robust with respect to schema format.

bidsschematools.tests.test_render_tables.test_make_sidecar_table(schema_obj)

Test whether expected metadata fields are present and the requirement level is applied correctly. This should be robust with respect to schema format.

bidsschematools.tests.test_render_tables.test_make_suffix_table(schema_obj)

Test whether expected suffixes are present and listed with correct names. Values are hard-coded from the present YAML, but should nevertheless be robust with respect to schema format, other than case changes for the names.