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
Annotations
Check warning on line 0 in eodag.utils.__init__
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__
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
Loading