diff --git a/tests/media/test_media_storage.py b/tests/media/test_media_storage.py index 469f0f6407..72c2acdc1f 100644 --- a/tests/media/test_media_storage.py +++ b/tests/media/test_media_storage.py @@ -944,7 +944,7 @@ async def _send_request(*args: Any, **kwargs: Any) -> IResponse: resp = MagicMock(spec=IResponse) resp.code = 200 resp.length = 31457280 - resp.headers = Headers({"Content-Type": "application/octet-stream"}) + resp.headers = Headers({"Content-Type": ["application/octet-stream"]}) resp.phrase = b"OK" return resp