comparison test/test_db.py @ 1797:c1eec970d5c0

Optimize mailgw and cgi tests... ...by creating an empty instance before the tests start (only if needed). In setUp(), this instance is then copied to another directory for the actual tests. On my system, this about halved the execution time for test_cgi (33s -> 14s) and test_mailgw (40s -> 25s).
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Sun, 07 Sep 2003 20:37:33 +0000
parents d2801a2b0a77
children 06f5b36b201b
comparison
equal deleted inserted replaced
1796:4de2e611b6f3 1797:c1eec970d5c0

Roundup Issue Tracker: http://roundup-tracker.org/