Merge "Fix some formatting issues in TESTING.rst"
This commit is contained in:
commit
c24c85c441
@ -388,7 +388,7 @@ Some scenario tests require advanced ``Glance`` images (for example, ``Ubuntu``
|
|||||||
or ``CentOS``) in order to pass. Those tests are skipped by default. To enable
|
or ``CentOS``) in order to pass. Those tests are skipped by default. To enable
|
||||||
them, include the following in ``tempest.conf``:
|
them, include the following in ``tempest.conf``:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
[compute]
|
[compute]
|
||||||
image_ref = <uuid of advanced image>
|
image_ref = <uuid of advanced image>
|
||||||
@ -515,7 +515,7 @@ specified in requirements.txt and lower-constraints.txt. To run tox tests
|
|||||||
against a different version of neutron-lib, use the TOX_ENV_SRC_MODULES
|
against a different version of neutron-lib, use the TOX_ENV_SRC_MODULES
|
||||||
environment variable to point at a local package repo.
|
environment variable to point at a local package repo.
|
||||||
|
|
||||||
For example, to run against the 'master' branch of neutron-lib:
|
For example, to run against the 'master' branch of neutron-lib::
|
||||||
|
|
||||||
cd $SRC
|
cd $SRC
|
||||||
git clone https://opendev.org/openstack/neutron-lib
|
git clone https://opendev.org/openstack/neutron-lib
|
||||||
@ -526,7 +526,7 @@ To run against a change of your own, repeat the same steps, but use the
|
|||||||
directory with your changes, not a fresh clone.
|
directory with your changes, not a fresh clone.
|
||||||
|
|
||||||
To run against a particular gerrit change of the lib (substituting the
|
To run against a particular gerrit change of the lib (substituting the
|
||||||
desired gerrit refs for this example):
|
desired gerrit refs for this example)::
|
||||||
|
|
||||||
cd $SRC
|
cd $SRC
|
||||||
git clone https://opendev.org/openstack/neutron-lib
|
git clone https://opendev.org/openstack/neutron-lib
|
||||||
@ -540,7 +540,7 @@ be needed to restore them to standard when not using this method.
|
|||||||
|
|
||||||
Any pip installable package can be overriden with this environment variable,
|
Any pip installable package can be overriden with this environment variable,
|
||||||
not just neutron-lib. To specify multiple packages to override, specify them
|
not just neutron-lib. To specify multiple packages to override, specify them
|
||||||
as a space separated list to TOX_ENV_SRC_MODULES. Example:
|
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,py27
|
env TOX_ENV_SRC_MODULES="$SRC/neutron-lib $SRC/oslo.db" tox -r -e pep8,py27
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user