Showing
1 changed file
with
7 additions
and
0 deletions
... | ... | @@ -5,5 +5,12 @@ import sys |
5 | 5 | |
6 | 6 | def runner(): |
7 | 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 | 15 | args.append(os.path.join(os.path.dirname(__file__), 'tests_files')) |
9 | 16 | return run_cli(args) | ... | ... |
Please
register
or
login
to post a comment