replacing __dict__ with an OrderedDict
Roy Smith
roy at panix.com
Tue Jan 10 09:05:42 EST 2012
In article <mailman.4588.1326198152.27778.python-list at python.org>,
Lie Ryan <lie.1296 at gmail.com> wrote:
> On 01/10/2012 12:05 PM, Roy Smith wrote:
> > Somewhat more seriously, let's say you wanted to do test queries against
> > a database with 100 million records in it. You could rebuild the
> > database from scratch for each test, but doing so might take hours per
> > test. Sometimes, real life is just*so* inconvenient.
>
> All serious database has rollback feature when they're available to
> quickly revert database state in the setUp/cleanUp phase.
I guess MongoDB is not a serious database?
More information about the Python-list
mailing list