def tearDown(self): try: # Remove any exports self.export.delete(self.volume2) except NotFound: pass shutil.rmtree(self.tempdir) IetTest.tearDown(self)
def setUp(self): IetTest.setUp(self) self.tempdir = mkdtemp() self.conf = self.config(self.tempdir) self.volume = VolumeHelper(self.conf) self.export = ExportHelper(self.conf)
def tearDown(self): backup_dir = self.conf.string('disk', 'path', None) # Remove the temp dir where backups are created shutil.rmtree(self.tempdir) IetTest.tearDown(self)
def setUp(self): IetTest.setUp(self) self.tempdir = mkdtemp() self.conf = self.config(self.tempdir) self.volume = VolumeHelper(self.conf) self.backup = BackupHelper(self.conf)
def tearDown(self): # Remove the temp dir where backups are created shutil.rmtree(self.tempdir) IetTest.tearDown(self)
def setUp(self): IetTest.setUp(self) self.tempdir = mkdtemp() self.conf = self.config(self.tempdir) self.volume = VolumeHelper(self.conf)