[openstack-dev] [all] Acceptable methods for establishing per-test-suite behaviors

James E. Blair corvus at inaugust.com
Fri Aug 22 20:09:55 UTC 2014


Hi,

One of the things we've wanted for a while in some projects is a
completely separate database environment for each test when using MySQL.
To that end, I wrote a MySQL schema fixture that is in use in nodepool:

http://git.openstack.org/cgit/openstack-infra/nodepool/tree/nodepool/tests/__init__.py#n75

While a per-test schema is more overhead than what you're asking about,
it's sometimes very desirable and quite simple.

-Jim



More information about the OpenStack-dev mailing list