Skip to content

Commit

Permalink
Autoformat code using black
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM authored and github-actions[bot] committed Jul 17, 2024
1 parent 8909b25 commit d610e9b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,12 @@ def test_include_role_parsing(grapher_cli: PlaybookGrapherCLI, capsys):
include_role_1 = block_include_role.tasks[0]
assert isinstance(include_role_1, RoleNode)
assert include_role_1.include_role
assert include_role_1.location.path == os.path.join(FIXTURES_PATH, "include_role.yml")
assert include_role_1.location.line == 10, "The first include role should be at line 9"
assert include_role_1.location.path == os.path.join(
FIXTURES_PATH, "include_role.yml"
)
assert (
include_role_1.location.line == 10
), "The first include role should be at line 9"
assert (
len(include_role_1.tasks) == 0
), "We don't support adding tasks from include_role with loop"
Expand Down

0 comments on commit d610e9b

Please sign in to comment.