File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ You can create a virtual environment using ``conda`` and install the development
88``` bash 
99$ conda create -n adlfs-dev python=3.8
1010$ conda activate adlfs-dev
11- $ pip install -r requirements/latest.txt
11+ $ pip install -r requirements/latest.txt -r requirements.dev 
1212``` 
1313
1414You can run tests from the main directory as follows:
Original file line number Diff line number Diff line change @@ -753,6 +753,7 @@ def test_rm_recursive(mock_delete_blob, storage):
753753        mock .ANY , "root/c" 
754754    ), "The directory deletion should be the last call" 
755755
756+ 
756757@pytest .mark .filterwarnings ("error" ) 
757758def  test_rm_recursive2 (storage ):
758759    fs  =  AzureBlobFileSystem (
@@ -771,14 +772,16 @@ def test_rm_recursive2(storage):
771772async  def  test_rm_recursive_call_order (storage , mocker ):
772773    from  azure .storage .blob .aio  import  ContainerClient 
773774
774-     delete_blob_mock  =  mocker .patch .object (ContainerClient , "delete_blob" , return_value = None )
775+     delete_blob_mock  =  mocker .patch .object (
776+         ContainerClient , "delete_blob" , return_value = None 
777+     )
775778    fs  =  AzureBlobFileSystem (
776779        account_name = storage .account_name , connection_string = CONN_STR 
777780    )
778781
779782    container_name  =  "data" 
780783    file_paths  =  [
781-         "root/a" ,  
784+         "root/a" ,
782785        "root/a/file.txt" ,
783786        "root/a1" ,
784787        "root/a1/file1.txt" ,
@@ -793,7 +796,7 @@ async def test_rm_recursive_call_order(storage, mocker):
793796        "root/e+f" ,
794797        "root/e+f/file1.txt" ,
795798        "root/e+f/file2.txt" ,
796-         "root/rfile.txt" 
799+         "root/rfile.txt" , 
797800    ]
798801    await  fs ._rm_files (container_name = container_name , file_paths = file_paths )
799802    last_deleted_paths  =  [call .args [0 ] for  call  in  delete_blob_mock .call_args_list [- 7 :]]
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments