Closed braingram closed 1 month ago
Running pytest romancal/outlier_detection/tests/test_outlier_detection.py to run the outlier detection tests triggers the clean_up_after_test fixture which attempts to remove all asdf files in the current directory. https://github.com/spacetelescope/romancal/blob/c722ecd457875dc89a680c488b394400f751654f/romancal/outlier_detection/tests/test_outlier_detection.py#L13
pytest romancal/outlier_detection/tests/test_outlier_detection.py
clean_up_after_test
This almost deleted a large number of useful test files that I created. Luckily it hit a permission error but it still deleted about half the files.
Running
pytest romancal/outlier_detection/tests/test_outlier_detection.py
to run the outlier detection tests triggers theclean_up_after_test
fixture which attempts to remove all asdf files in the current directory. https://github.com/spacetelescope/romancal/blob/c722ecd457875dc89a680c488b394400f751654f/romancal/outlier_detection/tests/test_outlier_detection.py#L13This almost deleted a large number of useful test files that I created. Luckily it hit a permission error but it still deleted about half the files.