Skip to content

Commit

Permalink
fix: Fix assertion in parser test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Merkl committed Dec 17, 2024
1 parent 2f90e27 commit 5791f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def test_include_role_parsing_with_exclude_roles(
if exclude_roles is not None:
all_roles = get_all_roles([playbook_node])
role_names = list(map(lambda role_node: role_node.name, all_roles))
assert exclude_roles not in role_names
assert all(exclude_role not in role_names for exclude_role in exclude_roles)


@pytest.mark.parametrize("grapher_cli", [["include_role.yml"]], indirect=True)
Expand Down

0 comments on commit 5791f20

Please sign in to comment.