mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 14:14:19 +00:00
test: TEST_VIEW_GENERATED_FILE should be == 1 to view the graphs during testing [ci skip]
This commit is contained in:
parent
0f6ac320be
commit
dbdf3fb48f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def run_grapher(playbook_file: str, output_filename: str = None, additional_args
|
|||
# Explicitly add verbosity to the tests
|
||||
additional_args.insert(0, "-vv")
|
||||
|
||||
if "TEST_VIEW_GENERATED_FILE" in os.environ:
|
||||
if os.environ.get("TEST_VIEW_GENERATED_FILE") == "1":
|
||||
additional_args.insert(1, "--view")
|
||||
|
||||
playbook_path = os.path.join(FIXTURES_DIR, playbook_file)
|
||||
|
|
Loading…
Reference in a new issue