Update test_workflow.py
This commit is contained in:
parent
dc56f5b33b
commit
04f45c0823
|
@ -23,9 +23,12 @@ def main():
|
|||
|
||||
if item.is_dir():
|
||||
if 'chrome-' in item.name:
|
||||
logger.info('adding %s to PATH' % str(item))
|
||||
logger.info('current PATH:' % str(os.environ.get('PATH')))
|
||||
path_list = os.environ['PATH'].split(os.pathsep)
|
||||
path_list.insert(0, str(item))
|
||||
os.environ['PATH'] = os.pathsep.join(path_list)
|
||||
logger.info('new PATH:' % str(os.environ.get('PATH')))
|
||||
break
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue