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

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to