From 05a20bbc95c3fa1b20f6beb88e1b29588f9af8ed Mon Sep 17 00:00:00 2001 From: Brad Pokorny Date: Thu, 25 Feb 2016 16:50:34 -0800 Subject: [PATCH] Update documentation for running tests The documentation for how to run tests currently says to use "python setup.py test", which results in errors. Update the docs to specify tox. Change-Id: Ib32f6c0708de9439b6bdee4a4fb56cb88bc47d5a Closes-Bug: #1550068 --- doc/source/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 4707c181..666a842d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -43,7 +43,8 @@ using `Gerrit`_. .. _Launchpad: https://launchpad.net/keystonemiddleware .. _Gerrit: http://docs.openstack.org/infra/manual/developers.html#development-workflow -Run tests with ``python setup.py test``. +Run tests with ``tox -e py27`` if running with python 2.7. See the +``tox.ini`` file for other test environment options. Indices and tables ==================