()
| 199 | |
| 200 | |
| 201 | async def test_send_file_bytes_io() -> None: |
| 202 | app = Quart(__name__) |
| 203 | io_stream = BytesIO(b"something") |
| 204 | async with app.app_context(): |
| 205 | response = await send_file(io_stream, mimetype="text/plain") |
| 206 | assert (await response.get_data(as_text=False)) == b"something" |
| 207 | |
| 208 | |
| 209 | async def test_send_file_no_mimetype() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…