From 4675b462b6679b1123fd00a7da45b6472921deb1 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 23 Jun 2014 14:27:55 +0200 Subject: [PATCH] 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 --- TESTING.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TESTING.rst b/TESTING.rst index 0d6814e8ee8..3dd62e1a2b6 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 ~~~~~~~~~~~~~~~~~