blob: d272120317be2836bcdde138f4ac82d7527f91ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import pytest
from ansiblelint.runner import Runner
@pytest.mark.parametrize(
'filename',
(
'bitbucket',
'galaxy',
'github',
'webserver',
'gitlab',
),
)
def test_external_dependency_is_ok(default_rules_collection, filename):
playbook_path = (
'test/dependency-in-meta/{filename}.yml'.
format_map(locals())
)
good_runner = Runner(default_rules_collection, playbook_path, [], [], [])
assert [] == good_runner.run()
|