summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/molecule/default/tests/test_default.py
blob: 76700d4237c1f43d028d0b6434101206992c8fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
def test_dir(host):
    f = host.file('/cfg')
    assert f.exists
    assert f.is_directory


def test_hostname_file(host):
    assert host.file('/cfg/simulated_hosts').exists


def test_dns_container(host):
    assert host.docker('dns-server').is_running