Skip to content

Commit 906f70a

Browse files
committed
addressing @AmandaBirmingham comment
1 parent 7d5a758 commit 906f70a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

qiita_ware/test/test_commands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ def test_list_scp_wrong_key(self):
5656
list_remote('scp://runner@localhost:'+self.remote_dir_path,
5757
self.test_wrong_key)
5858

59-
def test_download_remote_nonexist_key(self):
60-
with self.assertRaises(IOError):
61-
download_remote('scp://runner@localhost:'+self.remote_dir_path,
62-
join(self.self_dir_path, 'nokey'),
63-
self.temp_local_dir)
64-
6559
def test_list_scp(self):
6660
kpath = join(self.temp_local_dir, 'tmp-key')
6761
copyfile(self.test_ssh_key, kpath)
@@ -71,6 +65,12 @@ def test_list_scp(self):
7165
# 'scp://runner@localhost:'+self.remote_dir_path, kpath)
7266
# self.assertCountEqual(read_file_list, self.exp_files)
7367

68+
def test_download_remote_nonexist_key(self):
69+
with self.assertRaises(IOError):
70+
download_remote('scp://runner@localhost:'+self.remote_dir_path,
71+
join(self.self_dir_path, 'nokey'),
72+
self.temp_local_dir)
73+
7474
def test_download_scp(self):
7575
kpath = join(self.temp_local_dir, 'tmp-key')
7676
copyfile(self.test_ssh_key, kpath)

0 commit comments

Comments
 (0)