diff --git a/.gitignore b/.gitignore index 14ef9e6..f0745c1 100644 --- a/.gitignore +++ b/.gitignore @@ -129,5 +129,8 @@ dmypy.json # End of https://www.gitignore.io/api/python +# cfgrib index files (regenerated on the fly, may be incompatible across ecCodes versions) +*.grib.*.idx + # IDE .vscode diff --git a/pytest.ini b/pytest.ini index f984ea6..74bb34a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -testpaths=tests,eodag_cube/types +testpaths=tests eodag_cube/types log_cli = 1 log_cli_level = INFO log_format = %(asctime)s %(levelname)s %(message)s diff --git a/tests/resources/products/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de.grib.5b7b6.idx b/tests/resources/products/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de.grib.5b7b6.idx deleted file mode 100755 index 3a88bb0..0000000 Binary files a/tests/resources/products/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de.grib.5b7b6.idx and /dev/null differ diff --git a/tests/units/test_utils.py b/tests/units/test_utils.py index 80b585c..620a908 100644 --- a/tests/units/test_utils.py +++ b/tests/units/test_utils.py @@ -56,7 +56,6 @@ def run(): responses.add( responses.GET, "https://foo/bar.baz", - stream=True, status=200, headers={"a-header": "from-get"}, )