Commit 058d76eadd60084dc3edbad3c9e8bf2bb70ccaf1

Authored by Taras Kozlovskyi
1 parent eb01153a

Fixed problem with chromedriver

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