Change pytest test test_sftp_with_simulated_terminal.
@@ -290,14 +290,15 @@ def command_output_and_expected_result_simulated_terminal():
output4 = """\n"""
output5 = """sftp> pwd"""
output6 = """\n"""
- output7 = """Remote working directory: /upload
- sftp>"""
- output8 = """sftp>"""
- output9 = """sftp> exit
- """
- output10 = """xyz@debian:/home$"""
-
- outputs = [output1, output2, output3, output4, output5, output6, output7, output8, output9, output10]
+ output7 = """Remote working directory: /upload\nsftp>"""
+ output8 = """\n"""
+ output9 = """sftp>"""
+ output10 = """\n"""
+ output11 = """sftp> exit\n"""
+ output12 = """xyz@debian:/home$"""
+
+ outputs = [output1, output2, output3, output4, output5, output6, output7, output8, output9, output10, output11,
+ output12]
result = {'RESULT': ["Remote working directory: /upload"]}
return outputs, result
