mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
tests: use the handy dandy TestCase.mktemp() function from trial to give unique and nicely named directories for each testcase
This commit is contained in:
parent
6aabaa0797
commit
dbd1c2397e
@ -1709,7 +1709,9 @@ class SystemTest(SystemTestMixin, unittest.TestCase):
|
||||
|
||||
class Checker(SystemTestMixin, unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.basedir = "system/SystemTest/Checker"
|
||||
# Set self.basedir to a temp dir which has the name of the current test method in its
|
||||
# name.
|
||||
self.basedir = self.mktemp()
|
||||
TEST_DATA="\x02"*1000
|
||||
|
||||
d = defer.maybeDeferred(SystemTestMixin.setUp, self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user