SINTEF / PySilCam

SINTEF SilCam acquisition, processing and plotting
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

log files during tests #131

Open WillRNaylor opened 3 years ago

WillRNaylor commented 3 years ago

Describe the bug Automatically run tests don't seem to create log files.

To Reproduce Run tests either via python setup.py test pytest -s test_process.py don't seem to produce log.log files in the appropriate /proc folder (the location of that folder can be found in the config.ini file).

Expected behavior log.log files should be created

Additional context I am not really sure what's going on here, but I believe the pytest framework is somehow cleaning up the log files. I note that there is a temp folder created during the running of many of the tests, but the file shouldn't be placed there, but maybe something odd happens with regard to that?