Total Complexity | 0 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import time |
||
2 | import os |
||
3 | import subprocess |
||
4 | import tempfile |
||
5 | import uuid |
||
6 | |||
7 | print("Start process all rules") |
||
8 | src = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) |
||
9 | |||
10 | start_time_all_rules = time.time() |
||
11 | |||
12 | subprocess.check_call(['python3', |
||
13 | '-m', |
||
14 | 'oval_graph.command_line', |
||
15 | 'arf-to-graph', |
||
16 | '--all', |
||
17 | '-o', |
||
18 | src, |
||
19 | 'tests/test_data/ssg-fedora-ds-arf.xml', |
||
20 | '.' |
||
21 | ]) |
||
22 | |||
23 | print("--- %s seconds ---" % (time.time() - start_time_all_rules)) |
||
24 |