We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ff524 commit 1f664b6Copy full SHA for 1f664b6
tests/fixtures/sample.m4a
76.7 KB
tests/test_types.py
@@ -50,6 +50,13 @@ def test_guess_avif(self):
50
self.assertEqual(kind.mime, 'image/avif')
51
self.assertEqual(kind.extension, 'avif')
52
53
+ def test_guess_m4a(self):
54
+ kind = filetype.guess(FIXTURES + '/sample.m4a')
55
+ self.assertTrue(kind is not None)
56
+ self.assertEqual(kind.mime, 'audio/mp4')
57
+ self.assertEqual(kind.extension, 'm4a')
58
+
59
60
def test_guess_mp4(self):
61
kind = filetype.guess(FIXTURES + '/sample.mp4')
62
self.assertTrue(kind is not None)
0 commit comments