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 c948476 commit 4ef3063Copy full SHA for 4ef3063
tests/fixtures/sample.dds
3.66 MB
tests/test_types.py
@@ -50,6 +50,12 @@ def test_guess_avif(self):
50
self.assertEqual(kind.mime, 'image/avif')
51
self.assertEqual(kind.extension, 'avif')
52
53
+ def test_guess_dds(self):
54
+ kind = filetype.guess(FIXTURES + '/sample.dds')
55
+ self.assertTrue(kind is not None)
56
+ self.assertEqual(kind.mime, 'image/dds')
57
+ self.assertEqual(kind.extension, 'dds')
58
+
59
def test_guess_m4a(self):
60
kind = filetype.guess(FIXTURES + '/sample.m4a')
61
self.assertTrue(kind is not None)
0 commit comments