Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hubo1016 committed Jun 21, 2017
1 parent ce7412c commit 781500b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_web_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def write_headers(status_line, headers):
payload = BytesPayload(b'answer', headers={"X-Test-Header": "test"})
resp = Response(body=payload)
assert resp.content_length == 6
resp.body = resp
resp.body = payload
resp.enable_compression(ContentCoding.gzip)
yield from resp.prepare(req)
assert resp.content_length is None
Expand Down

0 comments on commit 781500b

Please sign in to comment.