forked from LBRYCommunity/lbry-sdk
update test
This commit is contained in:
parent
2a82ff7cc5
commit
ba518e2a0e
1 changed files with 2 additions and 0 deletions
|
@ -5,9 +5,11 @@ from lbrynet.extras.daemon import mime_types
|
|||
class TestMimeTypes(unittest.TestCase):
|
||||
def test_mp4_video(self):
|
||||
self.assertEqual("video/mp4", mime_types.guess_media_type("test.mp4"))
|
||||
self.assertEqual("video/mp4", mime_types.guess_media_type("test.MP4"))
|
||||
|
||||
def test_x_ext_(self):
|
||||
self.assertEqual("application/x-ext-lbry", mime_types.guess_media_type("test.lbry"))
|
||||
self.assertEqual("application/x-ext-lbry", mime_types.guess_media_type("test.LBRY"))
|
||||
|
||||
def test_octet_stream(self):
|
||||
self.assertEqual("application/octet-stream", mime_types.guess_media_type("test."))
|
||||
|
|
Loading…
Reference in a new issue