[openstack-dev] [OpenStack][python-quantumclient] running tox in python-quantumclient

2013-06-23 Thread Kuang-Ching Wang
Hi, I am trying to run a unit test for a module I am developing. When I did the following, it showed commands passed, but in fact my test is not being run since even if I put random bogus file names or bugs in the test, it still shows passed. under python-quantumclient/, I did the following.

Re: [openstack-dev] [OpenStack][python-quantumclient] running tox in python-quantumclient

2013-06-23 Thread Robert Collins
The parameter is not a filename, it is a regex to match tests on, and if you select no tests, then none will run. What is your test name? Put that in: tox -v epy27 $testname (also, you shouldn't need to run unittests under sudo). -Rob On 24 June 2013 07:16, Kuang-Ching Wang