From b21b666bb7298b505f89fb8a90ce84c1d9725b80 Mon Sep 17 00:00:00 2001 From: Sylvain Brunato Date: Wed, 10 Jun 2026 16:20:01 +0200 Subject: [PATCH] test: removed tests warnings --- .gitignore | 3 +++ pytest.ini | 2 +- ...7419d1719b53f4d5b5d4d6888641de.grib.5b7b6.idx | Bin 1514 -> 0 bytes tests/units/test_utils.py | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) delete mode 100755 tests/resources/products/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de/CAMS_EAC4_20210101_20210102_4d792734017419d1719b53f4d5b5d4d6888641de.grib.5b7b6.idx 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 3a88bb0c5758e3c885fe66513a3345370f5a69aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1514 zcmb_cTW=dh6n0uS_qZ1jeZ+{D6iDKA*LG4>MN!&DwP}iM7oN~+cIT{T#NL>lHS9yB zf^|(#oZI((d(OOV{`|+ShJDoSAe;&A@5Yel zWCpobYtMNEFA@sh=`;P{d;LaltJRQ0M01duHPpHZm`DL6zKCdML^7?;_GFyx9UZ=$ zc+U=xT(8^dIvso$M%Q!c;GjEr=ysfe>l{#L;2ik9hoMV*evi7ezrVlVcO44hygia)67!?Zmrhp_U7g4JSk4|lgjR@utJqn|g zNUd5i?H!|UQdLC;NnN;A8Lz_6Q=Ukqw2~1);ujRj<+jbL`BX*MjQKj@CT=Y+{G*y= zQ(6Wa5?j9tKQo=Rx>L-@5E04eFilN!4XPFLNP_VEvXbhJVPQtW<23iIhDN?^)r24p zwdy`AM4ACf+EuG|n2PpG)S`%Y#w3|R`%Az%0nvV*qGBXRWW!&GyEJO38w91kRp5UK z_2|ZNHJ^aR0|&>;(QIe< z=kH66(GTav)Cx~>NfN0?*mBqi|MJu_D}BRu)R4$!)F7vNn|;JS9{y@^u}|2}6*z47 z90S|C-hy>(>9@cA?J=jSIgEa~Y084y3eq?$B+!MN+w4Pir(VGztd~%$cS4cIo*7;b zXAeC4zs@v!r0&Y}`uVA5@1w7Ek!450CTuPe>LZN3&korUem}sRcdzDng`F0gdGB)O zx#Lu;^*M<+tw5=@ut)-#rcphMl9LFp1@`zyJw_oPKd|?QWr5qK)uv76vaA=%P%~;= z^4R?`JlfJMrt7YF|ZFhqc}1;C9;sR{{_xhx8HxNjX%`Guju1Khnd kshia#uL~e92~eo_s(UOGsZ4`3@=%c6-dRgsyykZQ1rV7nc>n+a 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"}, )