[New-bugs-announce] [issue39299] Improve test coverage for mimetypes module

Karthikeyan Singaravelan report at bugs.python.org
Sat Jan 11 01:06:36 EST 2020


New submission from Karthikeyan Singaravelan <tir.karthi at gmail.com>:

Currently the test coverage for mimetypes module is at 57% https://codecov.io/gh/python/cpython/src/43682f1e39a3c61f0e8a638b887bcdcbfef766c5/Lib/mimetypes.py . I propose adding the following tests to increase the coverage.

* Add test for case insensitive check of types and extensions.
* Add test for data url with no comma.
* Add test for read_mime_types function.
* Add tests for the mimetypes cli.

----------
components: Tests
messages: 359781
nosy: xtreak
priority: normal
severity: normal
status: open
title: Improve test coverage for mimetypes module
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39299>
_______________________________________


More information about the New-bugs-announce mailing list