Hi,

After pulling from quantum master I saw run_tests.sh was only running the tests 
in client.lib.quantum.tests, unless tests were executed with the virtual env.
I realized that the cause was the distribute package, which is required by 
nose. Ubuntu oneirc comes with distribute 0.6.16, whereas the venv install will 
pull version 0.6.19.

The small  difference between these two versions is that with distribute 0.6.16 
quantum.tests.unit.__path__ is a single string (client tests), whereas with 
distribute 0.6.19 and above quantum.tests.unit.__path__ is a list (including 
the absolute paths for client and server tests directories).
Bottom line is: if you realize that run_tests is not running all the unit 
tests, you probably need to upgrade distribute!

Regards,
Salvatore

-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to