Skip to content
Snippets Groups Projects
Commit 7073eb70 authored by nimrod's avatar nimrod
Browse files

- Adjust to run tests in Docker.

parent 91208491
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment