diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_kex_gss.py | 2 | ||||
-rw-r--r-- | tests/test_ssh_gss.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_kex_gss.py b/tests/test_kex_gss.py index e58be65d..7e53795f 100644 --- a/tests/test_kex_gss.py +++ b/tests/test_kex_gss.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 diff --git a/tests/test_ssh_gss.py b/tests/test_ssh_gss.py index d326f522..8e4cb962 100644 --- a/tests/test_ssh_gss.py +++ b/tests/test_ssh_gss.py @@ -60,7 +60,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 |