summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2017-12-06 15:32:09 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2017-12-06 15:32:09 +0300
commit782fa1118d4db0a938e9960cc5c5464b2242d5da (patch)
treee131b9771fd7a9e38fcb6bbb3095944321c606ce
parentd14c0774c7e6f372dfebcfcafdcac718b7e28789 (diff)
downloadunit-782fa1118d4db0a938e9960cc5c5464b2242d5da.tar.gz
unit-782fa1118d4db0a938e9960cc5c5464b2242d5da.tar.bz2
Tests: don't exceed 79 characters.
-rw-r--r--test/unit.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit.py b/test/unit.py
index 3ed7b495..a06f5479 100644
--- a/test/unit.py
+++ b/test/unit.py
@@ -121,8 +121,9 @@ class TestUnitControl(TestUnit):
data = data.encode()
with self._control_sock() as sock:
- req = ('PUT ' + path + (' HTTP/1.1\nHost: localhost\n'
- 'Content-Length: ') + str(len(data)) + '\r\n\r\n').encode() + data
+ req = ('PUT ' + path + ' HTTP/1.1\nHost: localhost\n'
+ + 'Content-Length: ' + str(len(data))
+ + '\r\n\r\n').encode() + data
sock.sendall(req)