blob: 48a89d3d9f52d835762c61b46d9bf8abdcef7544 (
plain)
1
2
3
4
5
6
7
8
|
"""Assure samples produced desire outcomes."""
from ansiblelint.runner import Runner
def test_example(default_rules_collection):
"""example.yml is expected to have 5 match errors inside."""
result = Runner(default_rules_collection, 'examples/example.yml', [], [], []).run()
assert len(result) == 5
|