Testing should have a single point of truth to allow creation of new process configurations and tests. This should be the datacube-wps-config.yaml file.
Actual behaviour
Currently products needing to be indexed for tests need to added twice.
In the yaml config above
In the setup_db.sh script
Making it better
Use a test fixture to identify the needed products during test start up and add them to the database from the canonical product manifest, currently dea-config in the future a global / publicly available STAC Catalog
Expected behaviour
Testing should have a single point of truth to allow creation of new process configurations and tests. This should be the
datacube-wps-config.yaml
file.Actual behaviour
Currently products needing to be indexed for tests need to added twice.
Making it better
Use a test fixture to identify the needed products during test start up and add them to the database from the canonical product manifest, currently
dea-config
in the future a global / publicly available STAC Catalog