diff --git a/tests/test_python.py b/tests/test_python.py index 9b9ad2dd786c58323cf9e27d0b78ac3f45151a15..4f70048912fef0b990e6a95d85fbaad18fa36f93 100644 --- a/tests/test_python.py +++ b/tests/test_python.py @@ -1,3 +1,8 @@ +from testinfra.utils.ansible_runner import AnsibleRunner + +testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all') + + def test_python(Command): python = Command('python --version') assert python.rc == 0