[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2432: consistently use self.mktemp() to create a temporary directory in tests
Tahoe-LAFS
trac at tahoe-lafs.org
Tue May 26 15:17:30 UTC 2015
#2432: consistently use self.mktemp() to create a temporary directory in tests
---------------------------+------------------------
Reporter: daira | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: 1.11.0
Component: code | Version: 1.10.0
Keywords: tests cleanup | Launchpad Bug:
---------------------------+------------------------
Currently we use a hotchpotch of methods to create a temporary directory
for a test -- specifying the name manually, using a `workdir` method,
using `self.mktemp()` from `twisted.trial.unittest.TestCase`, etc. (It is
usually consistent within a test module but not across modules.)
We should just use `self.mktemp()`, or if there is something wrong with
that then we should consistently use our own mixin.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2432>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list