mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 14:14:19 +00:00
fix(tests): Correctly insert --view option
This commit is contained in:
parent
8c9ad83206
commit
9a0fdec592
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def run_grapher(playbook_file: str, output_filename: str = None, additional_args
|
|||
additional_args.insert(0, "-vv")
|
||||
|
||||
if "TEST_VIEW_GENERATED_FILE" in os.environ:
|
||||
additional_args.append("--view")
|
||||
additional_args.insert(1, "--view")
|
||||
|
||||
playbook_path = os.path.join(FIXTURES_DIR, playbook_file)
|
||||
args = [__prog__]
|
||||
|
|
Loading…
Reference in a new issue