tests: check mime type as well
This commit is contained in:
parent
1027337833
commit
12bac730bd
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ class TestManagedStream(BlobExchangeTestBase):
|
||||||
self.assertTrue(self.stream.completed)
|
self.assertTrue(self.stream.completed)
|
||||||
self.assertEqual(self.stream.suggested_file_name, "cool.mp4")
|
self.assertEqual(self.stream.suggested_file_name, "cool.mp4")
|
||||||
self.assertEqual(self.stream.stream_name, "cool.mp4")
|
self.assertEqual(self.stream.stream_name, "cool.mp4")
|
||||||
|
self.assertEqual(self.stream.mime_type, "video/mp4")
|
||||||
|
|
||||||
async def test_status_file_completed(self):
|
async def test_status_file_completed(self):
|
||||||
await self._test_transfer_stream(10)
|
await self._test_transfer_stream(10)
|
||||||
|
|
Loading…
Reference in a new issue