[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 18:02:19 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
   Resolution:          |   Keywords:  tests cleanup
Launchpad Bug:          |
------------------------+---------------------------

Comment (by daira):

 Replying to [comment:1 warner]:
 > So I guess I'm in favor of using our own mixin that uses the (fully-
 qualified) name of the test case to produce a subdirectory of
 `_trial_temp`.

 `mktemp()` from `twisted.trial.unittest.TestCase` already does that.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2432#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list