pytroll / trollflow2

Next generation Trollflow. Trollflow is for batch-processing satellite data using Satpy
https://trollflow2.readthedocs.org/
GNU General Public License v3.0
10 stars 15 forks source link

Test directory not removed after tests #155

Closed mraspaud closed 1 week ago

mraspaud commented 2 years ago

Describe the bug A directory created during unit tests is not deleted.

To Reproduce

pytest .

Expected behavior I would like the directory to be deleted

Actual results A directory called örülök, hogy megismerhetem is left in the directory where the test was run.

A good solution would probably be to use pytest's tmp_path fixture.

@gerritholl I think that's one of the tests you added, right?