Why don't we create and destroy a test sqlite in memory database for the tests instead of stubbing out the DB calls ? *Pros:* More thorough testing More straight forward testing (create records instead of whole mock structures) Easier to create new tests, no need to stub everything out again, just use the base test DB *Cons:* Probably slower tests Has anyone looked at this in the past ? All comments appreciated. Kind Regards, Matthew Sherborne -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121210/16898414/attachment.html>