pytroll / satpy

Python package for earth-observing satellite data processing
http://satpy.readthedocs.org/en/latest/
GNU General Public License v3.0
1.08k stars 298 forks source link

Remove mocking in eum_l2_grib reader tests #2932

Open strandgren opened 1 month ago

strandgren commented 1 month ago

Feature Request

Nowadays the preferred approach is to write a synthetic testing file to tmp_path and work with that instead. However the unit tests for the eum_l2_grib reader (test_eum_l2_grib.py) still uses mocking for creating test files. It shall be assessed if we can write synthetic test files also for the grib format and therefor get rid of the mocking.