diff --git a/TESTING.rst b/TESTING.rst index 05bce0749b6..9ff75b66bbf 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -520,7 +520,7 @@ For example, to run against the 'master' branch of neutron-lib:: cd $SRC git clone https://opendev.org/openstack/neutron-lib cd $NEUTRON_DIR - env TOX_ENV_SRC_MODULES=$SRC/neutron-lib tox -r -e pep8,py37 + env TOX_ENV_SRC_MODULES=$SRC/neutron-lib tox -r -e py37 To run against a change of your own, repeat the same steps, but use the directory with your changes, not a fresh clone. @@ -533,7 +533,7 @@ desired gerrit refs for this example):: cd neutron-lib git fetch https://opendev.org/openstack/neutron-lib refs/changes/13/635313/6 && git checkout FETCH_HEAD cd $NEUTRON_DIR - env TOX_ENV_SRC_MODULES=$SRC/neutron-lib tox -r -e pep8,py37 + env TOX_ENV_SRC_MODULES=$SRC/neutron-lib tox -r -e py37 Note that the '-r' is needed to re-create the tox virtual envs, and will also be needed to restore them to standard when not using this method. @@ -542,7 +542,7 @@ Any pip installable package can be overriden with this environment variable, not just neutron-lib. To specify multiple packages to override, specify them as a space separated list to TOX_ENV_SRC_MODULES. Example:: - env TOX_ENV_SRC_MODULES="$SRC/neutron-lib $SRC/oslo.db" tox -r -e pep8,py37 + env TOX_ENV_SRC_MODULES="$SRC/neutron-lib $SRC/oslo.db" tox -r -e py37 Functional Tests ~~~~~~~~~~~~~~~~