Files
dc-deployments-automation/roles/linux_common/molecule/docker/tests/test_default.py
2019-07-17 13:48:57 +10:00

12 lines
257 B
Python

import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_support_packages(host):
assert host.file('/usr/bin/docker').exists