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):
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 )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments