]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix example for running individual tests
authorRalf Haferkamp <rhafer@suse.de>
Mon, 23 Jun 2014 12:27:55 +0000 (14:27 +0200)
committerRalf Haferkamp <rhafer@suse.de>
Tue, 1 Jul 2014 07:06:13 +0000 (09:06 +0200)
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

index 0d6814e8ee8de431856c3eb8031b719d9af30276..3dd62e1a2b67541fc542345f9feaef56e1da8181 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~~