diff --git a/tests/requirements.txt b/tests/requirements.txt index 8bcfc2b5a..64f2f8285 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,3 +1,3 @@ # These are Python requirements needed to run the functional tests -pytest +testinfra pytest-xdist diff --git a/tox.ini b/tox.ini index 5ee3d12bd..b02a59919 100644 --- a/tox.ini +++ b/tox.ini @@ -35,5 +35,5 @@ commands= ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars="fetch_directory={changedir}/fetch" - py.test -v + testinfra -n 4 -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests vagrant destroy --force