@@ -74,7 +74,6 @@ def get_default_home_dir():
7474 'tempFolderPath' : 'TEMP_FOLDER_PATH' ,
7575 'clientConfigDir' : 'CLIENT_CONFIG_DIR' ,
7676 'guiTestReportDir' : 'GUI_TEST_REPORT_DIR' ,
77- 'ocis' : 'OCIS' ,
7877 'record_video_on_failure' : 'RECORD_VIDEO_ON_FAILURE'
7978}
8079
@@ -97,7 +96,6 @@ def get_default_home_dir():
9796 'tempFolderPath' : os .path .join (get_client_root_path (), 'temp' ),
9897 'clientConfigDir' : get_config_home (),
9998 'guiTestReportDir' : os .path .abspath ('../reports' ),
100- 'ocis' : False ,
10199 'record_video_on_failure' : False ,
102100 'files_for_upload' : os .path .join (CURRENT_DIR .parent .parent , 'files-for-upload' ),
103101 'syncConnectionName' : 'Personal'
@@ -115,7 +113,7 @@ def read_cfg_file(cfg_path):
115113 for key , _ in CONFIG .items ():
116114 if key in CONFIG_ENV_MAP :
117115 if value := cfg .get ('DEFAULT' , CONFIG_ENV_MAP [key ]):
118- if key in ( 'ocis' , ' record_video_on_failure') :
116+ if key == ' record_video_on_failure' :
119117 CONFIG [key ] = value == 'true'
120118 else :
121119 CONFIG [key ] = value
@@ -135,7 +133,7 @@ def init_config():
135133 # read and override configs from environment variables
136134 for key , value in CONFIG_ENV_MAP .items ():
137135 if os .environ .get (value ):
138- if key in ( 'ocis' , ' record_video_on_failure') :
136+ if key == ' record_video_on_failure' :
139137 CONFIG [key ] = os .environ .get (value ) == 'true'
140138 else :
141139 CONFIG [key ] = os .environ .get (value )
0 commit comments