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

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

        shutil.rmtree(self.tempdir)
        IetTest.tearDown(self)
예제 #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)
예제 #4
0
파일: test_backup.py 프로젝트: audip/lunr
 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)
예제 #5
0
파일: test_backup.py 프로젝트: audip/lunr
 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)
예제 #6
0
 def tearDown(self):
     # Remove the temp dir where backups are created
     shutil.rmtree(self.tempdir)
     IetTest.tearDown(self)
예제 #7
0
 def setUp(self):
     IetTest.setUp(self)
     self.tempdir = mkdtemp()
     self.conf = self.config(self.tempdir)
     self.volume = VolumeHelper(self.conf)
예제 #8
0
 def tearDown(self):
     # Remove the temp dir where backups are created
     shutil.rmtree(self.tempdir)
     IetTest.tearDown(self)
예제 #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)