Skip to content

Commit

Permalink
Blacken the added test
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalresistor committed Oct 22, 2020
1 parent c85f7e3 commit 5570c7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,10 @@ def test_request_headers_too_large_http11(self):
self.sock.send(to_send)
fp = self.sock.makefile("rb")
response_line, headers, response_body = read_http(fp)
self.assertline(response_line, "431", "Request Header Fields Too Large", "HTTP/1.0")
self.assertEqual(headers['connection'], "close")
self.assertline(
response_line, "431", "Request Header Fields Too Large", "HTTP/1.0"
)
self.assertEqual(headers["connection"], "close")

def test_request_body_too_large_with_wrong_cl_http10(self):
body = b"a" * self.toobig
Expand Down

0 comments on commit 5570c7c

Please sign in to comment.