[svn r57833] simplify test setup

--HG--
branch : trunk
This commit is contained in:
hpk 2008-09-05 11:28:25 +02:00
parent 621f925985
commit a978e606c3
1 changed files with 1 additions and 4 deletions

View File

@ -10,10 +10,7 @@ class LocalSetup:
setuptestfs(cls.root)
def setup_method(self, method):
self.tmpdir = self.root.ensure('tmpdir', dir=1)
def teardown_method(self, method):
self.tmpdir.remove(rec=1)
self.tmpdir = self.root.mkdir(method.__name__)
class TestLocalPath(LocalSetup, CommonFSTests):