Hi,

I am trying to run tests like "test_xenapi" and "test_libvirt" by themselves do 
things like:
   nosetests test_xenapi
But it does work, I get DB errors relating to missing tables. However, I can 
successfully run all the tests.

The way I understand it:
 - nova.tests.__init__.py setup() does the database setup
 - nova.test.py TestCase.setUp() does the resetting of the db
 It is almost like doing "nosetests test_asdf" skips the database setup in 
nova.tests.__init__.py, is that correct?

Any ideas on how to run tests individually, but still get the database 
correclty initialized? Am I just calling the tests incorrectly?

Thanks,
John



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

Reply via email to