gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Add output_path to integration tests with file checks #948

Closed GernotMaier closed 1 month ago

GernotMaier commented 1 month ago

Interesting issue:

Failing are tests which do not have OUTPUT_PATH configured, but are using the functionality to locate or compare output files. I tried to understand what happens in test_applications_from_config.py, but it is not absolutely clear to me. The easiest fix is to configure explicitly OUTPUT_PATH in the test configuration to make sure that tests are written into the temp_test_directory (otherwise tests are writing locally).