run_tests for unit tests

asked 2014-10-08 07:04:05 -0500

dubi gravatar image

updated 2014-10-11 05:56:54 -0500

Using Icehouse we add a project . Unit tests of the server side code works basically

For testing the client code we imported code from python-cinderclient ( run_tests, tox.ini, setup.cfg, setup.cfg and tools )

running ./run_tests.sh -f builds the environment ok (says : 'dragonclient development environment setup is complete.')

but going into the tests run section fails with the following message :

Running `tools/with_venv.sh python setup.py testr --testr-args='--subunit '`

Non-zero exit code (2) from test listing.
error: testr failed (3)

----------------------------------------------------------------------
Ran 0 tests in 1.065s

OK

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

Note : .testrepository directory exists and also : 'testr list-tests' runs fine and shows all the client tests !

edit retag flag offensive close merge delete