[openstack-dev] [Nova] Unit tests

Gary Kotton gkotton at redhat.com
Tue Feb 12 13:38:40 UTC 2013


Hi,
Today I updated the code. When I try and run unit tests I get the following:

garyk at linus:~/nova$ ./run_tests.sh
Running `tools/with_venv.sh python setup.py testr --slowest 
--testr-args='--subunit  '`
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: invalid command 'testr'

----------------------------------------------------------------------
Ran 0 tests in 0.193s

OK
cp: cannot stat `.testrepository/-1': No such file or directory

Any ideas?
Thanks
Gary



More information about the OpenStack-dev mailing list