File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def _run_test_hook_or_plain(
67
67
start_time = time .time ()
68
68
reltool = os .path .relpath (test ["tool" ], start = config .test_basedir )
69
69
tooluri = urljoin (config .test_baseuri , reltool )
70
- if "job" in test :
70
+ if test . get ( "job" , None ) :
71
71
reljob = os .path .relpath (test ["job" ], start = config .test_basedir )
72
72
joburi = urljoin (config .test_baseuri , reljob )
73
73
else :
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ def run_test_plain(
440
440
441
441
reltool = os .path .relpath (test ["tool" ], start = config .test_basedir )
442
442
tooluri = urljoin (config .test_baseuri , reltool )
443
- if "job" in test :
443
+ if test . get ( "job" , None ) :
444
444
reljob = os .path .relpath (test ["job" ], start = config .test_basedir )
445
445
joburi = urljoin (config .test_baseuri , reljob )
446
446
else :
You can’t perform that action at this time.
0 commit comments