summaryrefslogtreecommitdiffstats
path: root/ansible/roles/helm/molecule/default/tests/test_default.py
blob: 2395183b59aeba0c69702244fb37a1bc372a9eab (plain)
1
2
3
4
5
6
7
8
9
10
11
import os

import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
    os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')


def test_helm(host):
    assert host.file('/usr/local/bin/helm').exists
    assert host.run('helm').rc != 127