File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1111CURDIR = Path .cwd ()
1212SRCPATH = CURDIR / 'src'
1313UNIT_TESTS = CURDIR / 'tests'
14+ DUMMYHANDLERS = UNIT_TESTS / 'resources' / 'my_dummy_handlers'
1415
1516# If you want colored output for the tasks, use `run()` with `pty=True`
1617# Not on Windows, though -- it'll fail if you have `pty=True`
@@ -61,7 +62,7 @@ def _setup_atest():
6162 tags: oxygen-metadata''' )
6263 return (tempconf ,
6364 os .pathsep .join ([str (SRCPATH ),
64- str (UNIT_TESTS / 'resources' / 'my_dummy_handlers' )]))
65+ str (DUMMYHANDLERS )]))
6566
6667@task (help = {
6768 'rf' : 'Additional command-line arguments for Robot Framework as '
@@ -73,7 +74,8 @@ def atest(context, rf=''):
7374 env = {'PYTHONPATH' : pythonpath })
7475 try :
7576 run (f'robot '
76- f'--pythonpath { pythonpath } '
77+ f'--pythonpath { str (SRCPATH )} '
78+ f'--pythonpath { str (DUMMYHANDLERS )} '
7779 f'--dotted '
7880 f'{ rf } '
7981 f'--listener oxygen.listener '
You can’t perform that action at this time.
0 commit comments