projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aabaa0
)
tests: use the handy dandy TestCase.mktemp() function from trial to give unique and...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 30 Jul 2008 22:49:20 +0000
(15:49 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 30 Jul 2008 22:49:20 +0000
(15:49 -0700)
src/allmydata/test/test_system.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_system.py
b/src/allmydata/test/test_system.py
index 740717661731a403ecf39b75c7cc7ddcd922e6db..17e5bf8cd7c12283b4bf0ecd3d008849fe6d8943 100644
(file)
--- a/
src/allmydata/test/test_system.py
+++ b/
src/allmydata/test/test_system.py
@@
-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)