Is there some kind of ready-to-use way to mock an entire DB-API driver, for use in a unit test suite? The popular "mock" module can only mock classes and methods, but not modules, as would be required here.
As a target to aim for, I'd be interested to see after a test a list or count of the execute calls that were made. _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig