tests.test_examples module
Test the instantiation, data loading / data generation and the inference for the example models in the examples folder.
- get_example_name(example)[source]
Extract the name of the example from the tuple to have nice names in the test report and be able to select the test using -k
- Parameters:
example – Tuple of the form (module_location, className, dataFileName) or (module_location, className)
- Returns:
name of the example
- Return type:
str