summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
diff options
context:
space:
mode:
authorAnselm Kruis <a.kruis@science-computing.de>2015-03-20 16:01:51 +0100
committerAnselm Kruis <a.kruis@science-computing.de>2015-03-20 16:01:51 +0100
commit94c20181dd8073e0cdbc83973c87e89c5f472d80 (patch)
treefdb45a8808d490897e66f611e121969a046add7d /tests/test_client.py
parent063c394633567e8afd8980113690311337108c3c (diff)
Commit 838e02ab42 changed the type of the exec command string on python3
from unicode to bytes. This commit adapts the test suite accordingly.
Diffstat (limited to 'tests/test_client.py')
-rw-r--r--tests/test_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_client.py b/tests/test_client.py
index 7e5c80b4..1791bed6 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -53,7 +53,7 @@ class NullServer (paramiko.ServerInterface):
return paramiko.OPEN_SUCCEEDED
def check_channel_exec_request(self, channel, command):
- if command != 'yes':
+ if command != b'yes':
return False
return True