tests: use testinfra in tox.ini instead of pytest directly

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1150/head
Andrew Schoen 2016-12-03 08:06:20 -06:00
parent a23007e7db
commit 870a4358f0
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
# These are Python requirements needed to run the functional tests
pytest
testinfra
pytest-xdist

View File

@ -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