diff --git a/tox.ini b/tox.ini index 3c71eea1edd..fc5fbbf38ff 100644 --- a/tox.ini +++ b/tox.ini @@ -101,8 +101,8 @@ commands = {posargs} commands = sphinx-build -W -b html doc/source doc/build/html [testenv:py34] -commands = python -m testtools.run \ - {posargs:neutron.tests.unit.test_context \ +commands = python setup.py test --testr-args='{posargs: \ + neutron.tests.unit.test_context \ neutron.tests.unit.services.metering.drivers.test_iptables \ neutron.tests.unit.services.metering.agents.test_metering_agent \ neutron.tests.unit.services.test_provider_configuration \ @@ -255,7 +255,7 @@ commands = python -m testtools.run \ neutron.tests.unit.notifiers.test_nova \ neutron.tests.unit.notifiers.test_batch_notifier \ neutron.tests.unit.api.test_extensions \ - neutron.tests.unit.db.test_db_base_plugin_common} + neutron.tests.unit.db.test_db_base_plugin_common}' [flake8] # E125 continuation line does not distinguish itself from next logical line