tests package

Submodules

tests.conftest module

tests.master_test module

tests.test_detect_ontology module

tests.test_detect_ontology.test_detect_ontology__automatedtrain_by_reflective_test_object()
tests.test_detect_ontology.test_detect_ontology__automatedtrain_by_train_front()
tests.test_detect_ontology.test_detect_ontology__automatedtrain_by_wagons_plus_scooter()
tests.test_detect_ontology.test_detect_ontology__empty_scene()
tests.test_detect_ontology.test_detect_ontology__fallback_to_automatedtrain()
tests.test_detect_ontology.test_detect_ontology__osdar23_by_transition()
tests.test_detect_ontology.test_detect_ontology__osdar23_by_wagons_without_exclusive()
tests.test_detect_ontology.test_detect_ontology__osdar26_by_ignore_tracks_and_wagon()
tests.test_detect_ontology.test_detect_ontology__osdar26_by_wagon_singular()

tests.test_ontologies module

tests.test_ontology_schema_setup module

Test script to verify ontology and schema setup.

This script demonstrates: 1. Loading ontologies and schemas 2. Testing the order attribute type conversion 3. Verifying the ontology-schema mapping

tests.test_ontology_schema_setup.main()

Run all tests.

tests.test_ontology_schema_setup.test_ontology_paths()

Test that all ontology files can be found.

tests.test_ontology_schema_setup.test_ontology_schema_mapping()

Test that ontologies have corresponding schemas.

tests.test_ontology_schema_setup.test_schema_paths()

Test that all schema files can be found.

tests.test_ontology_schema_setup.test_single_select_conversion()

Test the single-select attribute type conversion logic.

Module contents