summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2020-10-21 21:35:14 -0700
committerBert JW Regeer <bertjw@regeer.org>2020-10-21 21:35:14 -0700
commit5570c7c9931d32f7558e08143d32125a745ec56b (patch)
tree64a8a1858441df08d9e81a5771328dea63da1a36 /tests
parentc85f7e3ce2bfa6024b0ac8b3cefcb2b206f5e047 (diff)
downloadwaitress-5570c7c9931d32f7558e08143d32125a745ec56b.tar.gz
Blacken the added test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_functional.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 25b194f..f8ceabf 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -890,8 +890,10 @@ class TooLargeTests:
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