File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,6 @@ def test_list_scp_wrong_key(self):
56
56
list_remote ('scp://runner@localhost:' + self .remote_dir_path ,
57
57
self .test_wrong_key )
58
58
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
-
65
59
def test_list_scp (self ):
66
60
kpath = join (self .temp_local_dir , 'tmp-key' )
67
61
copyfile (self .test_ssh_key , kpath )
@@ -71,6 +65,12 @@ def test_list_scp(self):
71
65
# 'scp://runner@localhost:'+self.remote_dir_path, kpath)
72
66
# self.assertCountEqual(read_file_list, self.exp_files)
73
67
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
+
74
74
def test_download_scp (self ):
75
75
kpath = join (self .temp_local_dir , 'tmp-key' )
76
76
copyfile (self .test_ssh_key , kpath )
You can’t perform that action at this time.
0 commit comments