Python and database unittests

Daniel daniel.watrous at
Tue Aug 26 23:35:20 CEST 2008


I'm writing an application that interacts with a database.  As I think
about how to write the unittests, I want them to be able to run
without actually having to access a live database.  The pattern that
best describes this is here:

I have found, which helps with
unittests for a live database.  This isn't what I'm after.

Does anyone know about a module that acts as a database stub for
python unittests?


More information about the Python-list mailing list