Skip to content

Commit

Permalink
Fix failing test_ansiblelint_collection_role_errors tests
Browse files Browse the repository at this point in the history
  • Loading branch information
audgirka committed Feb 7, 2025
1 parent 4b3d979 commit 3522e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_loader_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,10 @@ def test_ansiblelint_collection_role_errors(populated_collection_root, tmp_colle
collection_loader._lint_collection()
shutil.rmtree(task_dir)

assert "name[casing]: All names should start with an uppercase letter." in str(
assert "All names should start with an uppercase letter." in str(
caplog.records[0]
)
assert "jinja[spacing]: Jinja2 spacing could be improved:" in str(caplog.records[1])
assert "Jinja2 spacing could be improved:" in str(caplog.records[1])


def test_ansiblelint_collection_meta_runtime_errors(
Expand Down

0 comments on commit 3522e94

Please sign in to comment.