Skip to content

Commit

Permalink
Fix bad file test fixture server
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellweg committed Nov 19, 2024
1 parent be59e47 commit 7d4b007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulp_file/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
Expand Down

0 comments on commit 7d4b007

Please sign in to comment.