diff --git a/tox.ini b/tox.ini index d1d1be770..686944222 100644 --- a/tox.ini +++ b/tox.ini @@ -28,11 +28,16 @@ commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:dsvm-functional] -setenv = OS_TEST_PATH=./neutron_fwaas/tests/functional - OS_SUDO_TESTING=1 - OS_ROOTWRAP_CMD=sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf - OS_FAIL_ON_MISSING_DEPS=1 -sitepackages=True +setenv = + OS_TEST_PATH=./neutron_fwaas/tests/functional + OS_SUDO_TESTING=1 + OS_ROOTWRAP_CMD=sudo {envdir}/bin/neutron-rootwrap {envdir}/etc/neutron/rootwrap.conf + OS_ROOTWRAP_DAEMON_CMD=sudo {envdir}/bin/neutron-rootwrap-daemon {envdir}/etc/neutron/rootwrap.conf + OS_FAIL_ON_MISSING_DEPS=1 +whitelist_externals = + sh + cp + sudo commands = python setup.py testr --slowest --testr-args='{posargs}'