]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/test_utils.py
Update upstream source from tag 'upstream/2020.09.14'
[youtubedl] / test / test_utils.py
index 0896f41506aa6d6cdb45b1c601203d6e717946d6..962fd8d753ffe5d2ffec4784112623fd870bf213 100644 (file)
@@ -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('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)
 
     def test_month_by_name(self):
         self.assertEqual(month_by_name(None), None)