From e12e2da9e63bb3dada5b4c25cfce463e019865af Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Tue, 23 Jul 2013 11:57:06 +0200 Subject: [PATCH] Change nose to testr in the documentation This change update how to running test of the documentation. It change nose reference to the testr. DocImpact Fixes bug #1193165 Change-Id: If00ed219d42f268dd3229980f13e9de82929890e --- doc/source/contributing/source.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/source/contributing/source.rst b/doc/source/contributing/source.rst index f92a2f32..3d52bd0f 100644 --- a/doc/source/contributing/source.rst +++ b/doc/source/contributing/source.rst @@ -59,15 +59,14 @@ run through tox_. $ cd /opt/stack/ceilometer $ tox -e py27,pep8 - As tox is a wrapper around nose, it also accepts the same flags as nosetests. - See the `nose options documentation`_ for details about these additional flags. + As tox is a wrapper around testr, it also accepts the same flags as testr. + See the `testr documentation`_ for details about these additional flags. -.. _nose options documentation: http://readthedocs.org/docs/nose/en/latest/usage.html#options +.. _testr documentation: https://testrepository.readthedocs.org/en/latest/MANUAL.html - Use a double hyphen to pass options to nose. For example, to set verbose - flag and to run only tests under tests/api/v2:: + Use a double hyphen to pass options to testr. For example, to run only tests under tests/api/v2:: - $ tox -e py27 -- -v api/v2 + $ tox -e py27 -- api.v2 .. seealso::