Tests: fixed header value char tests.

Use byte strings to avoid problems with encoding.
This commit is contained in:
Andrey Zelenkov
2018-07-30 16:40:52 +03:00
parent 4b67de4bbb
commit a458f50d59
3 changed files with 17 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ Content-Length: %d
time.sleep(3)
data += self.recvall(sock)
data += self.recvall(sock).decode()
sock.close()