Skip to content

Commit

Permalink
fix type error in oldeps
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jun 3, 2024
1 parent 26c3a6d commit 9c3af09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/media/test_media_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -1019,7 +1019,7 @@ async def _send_request(*args: Any, **kwargs: Any) -> IResponse:
resp = MagicMock(spec=IResponse)
resp.code = 200
resp.length = 52428800
resp.headers = Headers({"Content-Type": "application/octet-stream"})
resp.headers = Headers({"Content-Type": ["application/octet-stream"]})
resp.phrase = b"OK"
return resp

Expand Down Expand Up @@ -1077,7 +1077,7 @@ async def _send_request(*args: Any, **kwargs: Any) -> IResponse:
resp = MagicMock(spec=IResponse)
resp.code = 200
resp.length = UNKNOWN_LENGTH
resp.headers = Headers({"Content-Type": "application/octet-stream"})
resp.headers = Headers({"Content-Type": ["application/octet-stream"]})
resp.phrase = b"OK"
return resp

Expand Down

0 comments on commit 9c3af09

Please sign in to comment.