utopya test
#
utopya test#
Run the Python model tests associated with the specified model.
Looks up the test directory, temporarily moves to that directory, and invokes pytest there. Any additional pytest arguments are passed through. See pytest docs for more information.
utopya test [OPTIONS] MODEL_NAME [PYTEST_ARGS]...
Options
- --label <label>#
For model names that have multiple info bundles registered, a label is needed to unambiguously select the desired one. Alternatively, use the
utopya models set-default
CLI command to set a default label for a model.
Arguments
- MODEL_NAME#
Required argument
- PYTEST_ARGS#
Optional argument(s)