File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 115
115
116
116
117
117
# Expose supported type matchers
118
- TYPES = list (VIDEO + IMAGE + AUDIO + FONT + DOCUMENT + ARCHIVE + APPLICATION )
118
+ TYPES = list (IMAGE + AUDIO + VIDEO + FONT + DOCUMENT + ARCHIVE + APPLICATION )
Original file line number Diff line number Diff line change @@ -50,6 +50,13 @@ def test_guess_avif(self):
50
50
self .assertEqual (kind .mime , 'image/avif' )
51
51
self .assertEqual (kind .extension , 'avif' )
52
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
+
53
60
def test_guess_mp4 (self ):
54
61
kind = filetype .guess (FIXTURES + '/sample.mp4' )
55
62
self .assertTrue (kind is not None )
You can’t perform that action at this time.
0 commit comments