File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
11
CURDIR = Path .cwd ()
12
12
SRCPATH = CURDIR / 'src'
13
13
UNIT_TESTS = CURDIR / 'tests'
14
+ DUMMYHANDLERS = UNIT_TESTS / 'resources' / 'my_dummy_handlers'
14
15
15
16
# If you want colored output for the tasks, use `run()` with `pty=True`
16
17
# Not on Windows, though -- it'll fail if you have `pty=True`
@@ -61,7 +62,7 @@ def _setup_atest():
61
62
tags: oxygen-metadata''' )
62
63
return (tempconf ,
63
64
os .pathsep .join ([str (SRCPATH ),
64
- str (UNIT_TESTS / 'resources' / 'my_dummy_handlers' )]))
65
+ str (DUMMYHANDLERS )]))
65
66
66
67
@task (help = {
67
68
'rf' : 'Additional command-line arguments for Robot Framework as '
@@ -73,7 +74,8 @@ def atest(context, rf=''):
73
74
env = {'PYTHONPATH' : pythonpath })
74
75
try :
75
76
run (f'robot '
76
- f'--pythonpath { pythonpath } '
77
+ f'--pythonpath { str (SRCPATH )} '
78
+ f'--pythonpath { str (DUMMYHANDLERS )} '
77
79
f'--dotted '
78
80
f'{ rf } '
79
81
f'--listener oxygen.listener '
You can’t perform that action at this time.
0 commit comments