We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418c380 commit c1d5b51Copy full SHA for c1d5b51
tests/test_ssh_client.py
@@ -296,10 +296,10 @@ def test_openssh_config(self):
296
_server = start_server(_listen_socket)
297
_port = _listen_socket.getsockname()[1]
298
_key = USER_KEY_PATH
299
- content = ["""Host %s\n""" % (_host,),
300
- """ User %s\n""" % (_user,),
301
- """ Port %s\n""" % (_port,),
302
- """ IdentityFile %s\n""" % (_key,),
+ content = [bytes("""Host %s\n""" % (_host,)),
+ bytes(""" User %s\n""" % (_user,)),
+ bytes(""" Port %s\n""" % (_port,)),
+ bytes(""" IdentityFile %s\n""" % (_key,)),
303
]
304
config_file.writelines(content)
305
config_file.flush()
0 commit comments