Skip to content

Commit

Permalink
add missing connect in sftp test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrqs committed Jan 30, 2017
1 parent 695fd95 commit cc084c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloudshell/tests/cli/session/test_ssh_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def test_upload_sftp(self):
'user0', 'password0',
port=server.port,
on_session_start=self._on_session_start)
self._instance.connect('>', logger=Mock())
self._instance.upload_sftp(StringIO('klmno'), 'z.txt', 5, '0601')
self.assertTrue(server.filename2stringio['z.txt'].getvalue() == 'klmno')

Expand Down

0 comments on commit cc084c6

Please sign in to comment.