Skip to content

Commit

Permalink
Update test_http_writer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Sep 4, 2021
1 parent d1195a9 commit bb19323
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_http_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ async def test_drain_no_transport(protocol, transport, loop) -> None:
assert not protocol._drain_helper.called


async def test_write_headers_prevents_injection(
protocol: Any, transport: Any, loop: Any
) -> None:
async def test_write_headers_prevents_injection(protocol, transport, loop) -> None:
msg = http.StreamWriter(protocol, loop)
status_line = "HTTP/1.1 200 OK"
wrong_headers = CIMultiDict({"Set-Cookie: abc=123\r\nContent-Length": "256"})
Expand Down

0 comments on commit bb19323

Please sign in to comment.