Fix #1093: mimetype detection issue that broke transcoding on certain tracks

This commit is contained in:
Agate 2020-05-04 13:52:25 +02:00
commit 85bc8d93e8
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
4 changed files with 34 additions and 6 deletions

View file

@ -824,6 +824,7 @@ def test_user_can_create_draft_upload(
assert upload.source == "upload://test"
assert upload.import_reference == "test"
assert upload.import_status == "draft"
assert upload.mimetype == "audio/ogg"
assert upload.track is None
m.assert_not_called()