Skip to content

Commit

Permalink
tests: check mime type as well
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba authored and eukreign committed Oct 18, 2022
1 parent 1027337 commit 12bac73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/stream/test_managed_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ async def test_empty_name_fallback(self):
self.assertTrue(self.stream.completed)
self.assertEqual(self.stream.suggested_file_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):
await self._test_transfer_stream(10)
Expand Down

0 comments on commit 12bac73

Please sign in to comment.