diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-09-06 11:19:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-09-06 11:19:53 +0700 |
commit | 1d9bf655e68c873dc1f04739640046c43a1443d5 (patch) | |
tree | 90c40c49a2776860eee5e6f2c592133793a4f87b /test/test_utils.py | |
parent | 62ae19ff760b9df6a2600430e42e2c32f1449e7a (diff) |
[utils] Recognize wav mimetype (closes #26463)
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 0896f4150..962fd8d75 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -803,6 +803,8 @@ class TestUtil(unittest.TestCase): self.assertEqual(mimetype2ext('text/vtt'), 'vtt') self.assertEqual(mimetype2ext('text/vtt;charset=utf-8'), 'vtt') self.assertEqual(mimetype2ext('text/html; charset=utf-8'), 'html') + self.assertEqual(mimetype2ext('audio/x-wav'), 'wav') + self.assertEqual(mimetype2ext('audio/x-wav;codec=pcm'), 'wav') def test_month_by_name(self): self.assertEqual(month_by_name(None), None) |