Showing
1 changed file
with
7 additions
and
0 deletions
@@ -5,5 +5,12 @@ import sys | @@ -5,5 +5,12 @@ import sys | ||
5 | 5 | ||
6 | def runner(): | 6 | def runner(): |
7 | args = sys.argv[1:] | 7 | args = sys.argv[1:] |
8 | + if '-s' not in args: | ||
9 | + args += ['-s', 'OpenProcurementProcess'] | ||
10 | + if '-d' not in args: | ||
11 | + directory = os.path.join(os.getcwd(), 'test_output') | ||
12 | + if not os.path.exists(directory): | ||
13 | + os.mkdir(directory) | ||
14 | + args += ['-d', directory] | ||
8 | args.append(os.path.join(os.path.dirname(__file__), 'tests_files')) | 15 | args.append(os.path.join(os.path.dirname(__file__), 'tests_files')) |
9 | return run_cli(args) | 16 | return run_cli(args) |
Please
register
or
login
to post a comment