Example for running individual unit tests doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Ralf Haferkamp |
Bug Description
TESTING.rst in the neutron git repo has this examples for running individual unit tests:
For example, the following would run only the JSONV2TestCase tests from
neutron/
$ ./run_tests.sh neutron.
or::
$ ./tox neutron.
If I run this on my test system (openSUSE 13.1) it will not execute any test case:
=======
Running `OS_TEST_
running testr
running=
Slowest Tests
-------
Ran 0 tests in 7.737s
OK
=======
Simply replacing the ':' with a '.' works here.
Changed in neutron: | |
assignee: | nobody → Ralf Haferkamp (rhafer) |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → juno-2 |
importance: | Undecided → Low |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-2 → 2014.2 |
Reviewed: https:/ /review. openstack. org/101896 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4675b462b66 79b1123fd00a7da 45b6472921deb1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4675b462b6679b1 123fd00a7da45b6 472921deb1
Author: Ralf Haferkamp <email address hidden>
Date: Mon Jun 23 14:27:55 2014 +0200
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 41d6642e2560a84 db55415654b
Change-Id: Ie608cee2ac1319