summaryrefslogtreecommitdiffstats
path: root/ansible/roles/cert-manager/molecule/default/tests/test_default.py
blob: 4f1937a1d3f5c8fa7d9fc8a497fbba816562e87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def test_helm_value_file(host):
    f = host.file('/opt/onap/cert_manager.yaml')
    assert f.exists
    assert f.user == 'root'
    assert f.group == 'root'
    assert f.content_string.strip() == "installCRDs: true"


def test_cmctl(host):
    f = host.file('/usr/local/bin/cmctl')
    assert f.exists
    assert f.user == 'root'
    assert f.group == 'root'
    assert host.run('cmctl').rc == 0