From: Ralf Haferkamp Date: Mon, 23 Jun 2014 12:27:55 +0000 (+0200) Subject: Fix example for running individual tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4675b462b6679b1123fd00a7da45b6472921deb1;p=openstack-build%2Fneutron-build.git Fix example for running individual tests The ':' syntax doesn't seem to work anymore. Additionally fix the "tox" call to not try to run it from the current working directory. It's usually installed somewhere in $PATH. Closes-Bug: #1334134 Change-Id: Ie608cee2ac131941d6642e2560a84db55415654b --- diff --git a/TESTING.rst b/TESTING.rst index 0d6814e8e..3dd62e1a2 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -123,11 +123,11 @@ class separating it from the module path with a colon. For example, the following would run only the JSONV2TestCase tests from neutron/tests/unit/test_api_v2.py:: - $ ./run_tests.sh neutron.tests.unit.test_api_v2:JSONV2TestCase + $ ./run_tests.sh neutron.tests.unit.test_api_v2.JSONV2TestCase or:: - $ ./tox neutron.tests.unit.test_api_v2:JSONV2TestCase + $ tox -e py27 neutron.tests.unit.test_api_v2.JSONV2TestCase Adding more tests ~~~~~~~~~~~~~~~~~