Commit 058d76eadd60084dc3edbad3c9e8bf2bb70ccaf1

Authored by Taras Kozlovskyi
1 parent eb01153a

Fixed problem with chromedriver

1 from robot import run_cli 1 from robot import run_cli
2 import os 2 import os
3 import sys 3 import sys
  4 +from chromedriver import CHROMEDRV_PATH
  5 +
  6 +sys.path.append(CHROMEDRV_PATH)
4 7
5 8
6 def runner(): 9 def runner():
7 args = sys.argv[1:] 10 args = sys.argv[1:]
8 - #if '-s' not in args:  
9 - # args += ['-s', 'OpenProcurementProcess']  
10 if '-d' not in args: 11 if '-d' not in args:
11 directory = os.path.join(os.getcwd(), 'test_output') 12 directory = os.path.join(os.getcwd(), 'test_output')
12 if not os.path.exists(directory): 13 if not os.path.exists(directory):
@@ -32,7 +32,8 @@ setup(name='op_robot_tests', @@ -32,7 +32,8 @@ setup(name='op_robot_tests',
32 'jsonpath-rw', 32 'jsonpath-rw',
33 'dateutils', 33 'dateutils',
34 'pytz', 34 'pytz',
35 - 'parse' 35 + 'parse',
  36 + 'chromedriver'
36 ], 37 ],
37 entry_points={ 38 entry_points={
38 'console_scripts': [ 39 'console_scripts': [
Please register or login to post a comment