This commit is contained in:
parent
3c620e5cfa
commit
71afb859f4
@ -8,6 +8,7 @@ warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|||||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||||
|
|
||||||
|
|
||||||
def test_postfix_is_installed(host):
|
def test_postfix_is_installed(host):
|
||||||
postfix = host.package("postfix")
|
postfix = host.package("postfix")
|
||||||
assert postfix.is_installed
|
assert postfix.is_installed
|
||||||
|
Loading…
Reference in New Issue
Block a user