author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 7 Sep 2003 20:37:33 +0000 (20:37 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 7 Sep 2003 20:37:33 +0000 (20:37 +0000) | ||
commit | 15d080f7d66886bee97ebed30d81ed5ef1473cee | |
tree | f09f26df76d44b110850352f56b08e45fb551fb9 | tree | snapshot |
parent | dc251d52e45b081b8a6a908e73234623bdfe694f | commit | diff |
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).
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1864 57a73879-2fb5-44c3-a270-3262357dd7e2
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).
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1864 57a73879-2fb5-44c3-a270-3262357dd7e2
test/__init__.py | diff | blob | history | |
test/test_cgi.py | diff | blob | history | |
test/test_mailgw.py | diff | blob | history |