Skip to content

feat(utils): update mimetypes definition #3308

feat(utils): update mimetypes definition

feat(utils): update mimetypes definition #3308

GitHub Actions / Test Results failed Dec 13, 2024 in 0s

2 fail, 3 skipped, 579 pass in 4m 30s

    3 files   -   1      3 suites   - 1   4m 30s ⏱️ - 1m 37s
  584 tests +  2    579 ✅ ±  0   3 💤 ± 0  2 ❌ +2 
1 752 runs   - 576  1 698 ✅  - 532  52 💤  - 46  2 ❌ +2 

Results for commit 6e980e4. ± Comparison against earlier commit 80a6a61.

Annotations

Check warning on line 0 in eodag.utils.__init__

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: eodag.utils.guess_extension (eodag.utils.__init__)

artifacts/unit-test-results-python3.9-windows-latest/junit-report.xml [took 0s]
Raw output
1431 guess extension from mime type
1432 
1433     >>> guess_extension('image/jp2')
Expected:
    '.jp2'
Got nothing

D:\a\eodag\eodag\eodag\utils\__init__.py:1433: DocTestFailure

Check warning on line 0 in eodag.utils.__init__

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: eodag.utils.guess_file_type (eodag.utils.__init__)

artifacts/unit-test-results-python3.9-windows-latest/junit-report.xml [took 0s]
Raw output
1415 guess the mime type of a file or URL based on its extension
1416 
1417     >>> guess_file_type('path/to/foo.jp2')
Expected:
    'image/jp2'
Got nothing

D:\a\eodag\eodag\eodag\utils\__init__.py:1417: DocTestFailure