From d610e9be4ab1fc2426cf65e6bf67625c27babea2 Mon Sep 17 00:00:00 2001 From: haidaraM Date: Wed, 17 Jul 2024 11:30:18 +0000 Subject: [PATCH] Autoformat code using black --- tests/test_parser.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_parser.py b/tests/test_parser.py index e6d0987..9a5a4c4 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -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"