Files
dc-deployments-automation/roles/create_backups/molecule/default/tests/test_default.py
2020-01-03 11:33:54 +11:00

11 lines
272 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_slingshot_installed(host):
assert host.file('/usr/bin/atlassian-slingshot').exists