Tests: don't exceed 79 characters.
This commit is contained in:
@@ -121,8 +121,9 @@ class TestUnitControl(TestUnit):
|
|||||||
data = data.encode()
|
data = data.encode()
|
||||||
|
|
||||||
with self._control_sock() as sock:
|
with self._control_sock() as sock:
|
||||||
req = ('PUT ' + path + (' HTTP/1.1\nHost: localhost\n'
|
req = ('PUT ' + path + ' HTTP/1.1\nHost: localhost\n'
|
||||||
'Content-Length: ') + str(len(data)) + '\r\n\r\n').encode() + data
|
+ 'Content-Length: ' + str(len(data))
|
||||||
|
+ '\r\n\r\n').encode() + data
|
||||||
|
|
||||||
sock.sendall(req)
|
sock.sendall(req)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user