From 7a5a61616a8feeac9e0c5fd6b97d41f32c3ce8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Piwowarski?= Date: Fri, 7 Oct 2022 15:53:00 +0200 Subject: [PATCH] Remove reference to 'all-plugin' tox environment The 'all-plugin' tox environment was deprecated by this patch [1]. Instead of the 'all-plugin' it is recommended to use the 'all' tox environment. This patch removes any reference to 'all-plugin' tox environment and updates the documentation so that the installation steps work with the 'all' venv. [1] https://review.opendev.org/c/openstack/tempest/+/543974 Change-Id: Idc492b037251d6a04bf7700505484cb848fb2e01 --- TESTING.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TESTING.rst b/TESTING.rst index fdffebe0b11..9bc4bb3f9b1 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -574,13 +574,14 @@ and Neutron with DevStack and then run the following command, from the tempest directory: :: $ export DEVSTACK_GATE_TEMPEST_REGEX="neutron" - $ tox -e all-plugin $DEVSTACK_GATE_TEMPEST_REGEX + $ tox -e venv-tempest -- pip install (path to the neutron-tempest-plugin directory) + $ tox -e all -- $DEVSTACK_GATE_TEMPEST_REGEX If you want to limit the amount of tests, or run an individual test, you can do, for instance: :: - $ tox -e all-plugin neutron_tempest_plugin.api.admin.test_routers_ha - $ tox -e all-plugin neutron_tempest_plugin.api.test_qos.QosTestJSON.test_create_policy + $ tox -e all -- neutron_tempest_plugin.api.admin.test_routers_ha + $ tox -e all -- neutron_tempest_plugin.api.test_qos.QosTestJSON.test_create_policy If you want to use special config for Neutron, like use advanced images (Ubuntu or CentOS) testing advanced features, you may need to add config