summaryrefslogtreecommitdiffhomepage
path: root/test/test_settings.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-07-30 16:40:52 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-07-30 16:40:52 +0300
commita458f50d59ddddfd9de331f45c712fc3600295ec (patch)
tree04dbdfb3c9eda2019ed6bccde5c9b6f08b39c707 /test/test_settings.py
parent4b67de4bbb7f7cc6e1337ab9b7479695fd068b74 (diff)
downloadunit-a458f50d59ddddfd9de331f45c712fc3600295ec.tar.gz
unit-a458f50d59ddddfd9de331f45c712fc3600295ec.tar.bz2
Tests: fixed header value char tests.
Use byte strings to avoid problems with encoding.
Diffstat (limited to 'test/test_settings.py')
-rw-r--r--test/test_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_settings.py b/test/test_settings.py
index 8a4d0892..f8e83c8f 100644
--- a/test/test_settings.py
+++ b/test/test_settings.py
@@ -70,7 +70,7 @@ Content-Length: %d
time.sleep(3)
- data += self.recvall(sock)
+ data += self.recvall(sock).decode()
sock.close()