[Checkins] SVN: zc.FileStorage/trunk/buildout.cfg Added some test hygiene.
Jim Fulton
jim at zope.com
Sat Dec 6 15:12:47 EST 2008
Log message for revision 93727:
Added some test hygiene.
Changed:
U zc.FileStorage/trunk/buildout.cfg
-=-
Modified: zc.FileStorage/trunk/buildout.cfg
===================================================================
--- zc.FileStorage/trunk/buildout.cfg 2008-12-06 17:07:53 UTC (rev 93726)
+++ zc.FileStorage/trunk/buildout.cfg 2008-12-06 20:12:46 UTC (rev 93727)
@@ -12,6 +12,11 @@
eggs = ZODB3 <3.9dev
zc.FileStorage
initialization =
+ import os, tempfile, shutil
+ if os.path.exists('tmp'): shutil.rmtree('tmp')
+ os.mkdir('tmp')
+ tempfile.tempdir = os.path.abspath('tmp')
+
import zc.FileStorage
import ZODB.tests.VersionStorage, ZODB.tests.TransactionalUndoVersionStorage
class C: pass
More information about the Checkins
mailing list