From 870a4358f0c8bd9cfdfb64e2629e22ea0b1faa77 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Sat, 3 Dec 2016 08:06:20 -0600 Subject: [PATCH] tests: use testinfra in tox.ini instead of pytest directly Signed-off-by: Andrew Schoen --- tests/requirements.txt | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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