[Checkins] SVN: zope.fssync/trunk/src/zope/fssync/tests/ Try fixing test for release.
Stephan Richter
srichter at gmail.com
Fri Jul 24 13:05:54 EDT 2009
Log message for revision 102258:
Try fixing test for release.
Changed:
D zope.fssync/trunk/src/zope/fssync/tests/svntestdir/
U zope.fssync/trunk/src/zope/fssync/tests/test_docs.py
-=-
Modified: zope.fssync/trunk/src/zope/fssync/tests/test_docs.py
===================================================================
--- zope.fssync/trunk/src/zope/fssync/tests/test_docs.py 2009-07-24 16:43:12 UTC (rev 102257)
+++ zope.fssync/trunk/src/zope/fssync/tests/test_docs.py 2009-07-24 17:05:54 UTC (rev 102258)
@@ -15,12 +15,12 @@
$Id: test_docs.py 70826 2006-10-20 03:41:16Z baijum $
"""
+import os
import sys
import unittest
import tempfile
import zope
import py
-#import shutil
from zope import interface
from zope.testing import doctest, doctestunit, module, cleanup
@@ -33,12 +33,16 @@
_test_dirs = []
+TESTDIR = os.path.join(os.path.dirname(__file__), 'svntestdir')
+
def cleanUpZope(test):
for wcdir in _test_dirs:
wcdir.remove()
cleanup.cleanUp()
def svn_test_checkout():
+ if not os.path.exists(TESTDIR):
+ os.mkdir(TESTDIR)
base = py.path.local(__file__).dirpath('svntestdir')
pat = 'test%s'
count = 1
More information about the Checkins
mailing list