File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1616RECORD_MODE = os .environ .get ('RECORD_MODE' , 'all' ).lower ()
1717AZURE_ACL_TEST_APPID = os .environ .get ('AZURE_ACL_TEST_APPID' )
1818CLIENT_ID = os .environ ['azure_service_principal' ]
19+ ROOT_DIR = os .environ ['ROOT_DIR' ]
1920
2021if RECORD_MODE == 'none' :
2122 STORE_NAME = fake_settings .STORE_NAME
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def test_download_path(azure):
168168 down = ADLDownloader (
169169 azure ,
170170 lpath = "/lpath/test/testfolder" ,
171- rpath = '/' + test_dir . name ,
171+ rpath = '/' / test_dir ,
172172 run = False )
173173 for lfile , rfile in down ._file_pairs :
174174 if 'data' in lfile :
Original file line number Diff line number Diff line change 1919
2020from azure .datalake .store .core import AzureDLPath
2121from tests import fake_settings , settings
22+ from tests .settings import ROOT_DIR
2223
2324
2425def _build_func_path_generator (function ):
@@ -68,7 +69,7 @@ def _scrub_sensitive_response_info(response):
6869
6970def working_dir ():
7071 if not hasattr (working_dir , "path" ):
71- unique_dir = 'azure_python_sdk_test_dir'
72+ unique_dir = ROOT_DIR
7273 working_dir .path = AzureDLPath (unique_dir )
7374 return working_dir .path
7475
You can’t perform that action at this time.
0 commit comments