Skip to content

Commit

Permalink
Fix failing test_ansiblelint_collection_role_errors tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ajinkya Udgirkar <[email protected]>
  • Loading branch information
audgirka committed Feb 10, 2025
1 parent 54229cf commit d110a17
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/unit/test_loader_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,8 @@ 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(
caplog.records[0]
)
assert "jinja[spacing]: Jinja2 spacing could be improved:" in str(caplog.records[1])
assert "All names should start with an uppercase letter." in str(caplog.records[0])
assert "Jinja2 spacing could be improved:" in str(caplog.records[1])


def test_ansiblelint_collection_meta_runtime_errors(
Expand Down

0 comments on commit d110a17

Please sign in to comment.