fixes #41 in the allmydata.org trac
http://allmydata.org/trac/tahoe/ticket/41
fsize = len(teststr)
- tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=False)
+ tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=True)
try:
tempf = tempdir.file(TESTFNAME, 'w+b')
tempf.write(teststr)
class Cmdline(unittest.TestCase):
def test_basic(self, noisy=VERBOSE):
- tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=False)
+ tempdir = zfec.util.fileutil.NamedTemporaryDirectory(cleanup=True)
fo = tempdir.file("test.data", "w+b")
fo.write("WHEHWHJEKWAHDLJAWDHWALKDHA")