diff --git a/pulp_file/pytest_plugin.py b/pulp_file/pytest_plugin.py index 92f2c159e1..772fe7b865 100644 --- a/pulp_file/pytest_plugin.py +++ b/pulp_file/pytest_plugin.py @@ -332,7 +332,8 @@ async def handler(request): await response.write(chunk2[:-1]) await response.write(bytes([chunk2[-1] ^ 1])) - await response.write_eof() + # await response.write_eof() + return response app = web.Application() app.add_routes([web.get("/{tail:.*}", handler)])