Ejemplo n.º 1
0
    def tearDown(self):
        try:
            # Remove any exports
            self.export.delete(self.volume2)
        except NotFound:
            pass

        shutil.rmtree(self.tempdir)
        IetTest.tearDown(self)
Ejemplo n.º 2
0
    def tearDown(self):
        try:
            # Remove any exports
            self.export.delete(self.volume2)
        except NotFound:
            pass

        shutil.rmtree(self.tempdir)
        IetTest.tearDown(self)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 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)
Ejemplo n.º 6
0
 def tearDown(self):
     # Remove the temp dir where backups are created
     shutil.rmtree(self.tempdir)
     IetTest.tearDown(self)
Ejemplo n.º 7
0
 def setUp(self):
     IetTest.setUp(self)
     self.tempdir = mkdtemp()
     self.conf = self.config(self.tempdir)
     self.volume = VolumeHelper(self.conf)
Ejemplo n.º 8
0
 def tearDown(self):
     # Remove the temp dir where backups are created
     shutil.rmtree(self.tempdir)
     IetTest.tearDown(self)
Ejemplo n.º 9
0
 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)