Ejemplo n.º 1
0
 def tearDownClass(self):
     """
     clean up
     :return:
     """
     self.logging.info("--> TestPhysicalVols.tearDownClass()")
     self.logging.debug("delete the partition created in setup class")
     utils.del_eckd_partition(self.dev)
     self.logging.info("<-- TestPhysicalVols.tearDownClass()")
Ejemplo n.º 2
0
 def tearDownClass(self):
     """
     clean up
     :return:
     """
     self.logging.info('--> TestFilesystems.tearDownClass()')
     self.logging.debug('delete the partition created in setup class')
     utils.delete_dir(self.mountpt)
     utils.delete_dir(self.nfs_mount_pt)
     utils.del_eckd_partition(self.dev)
     self.logging.info('<-- TestFilesystems.tearDownClass()')
Ejemplo n.º 3
0
 def tearDownClass(self):
     """
     clean up
     :return:
     """
     self.logging.info('--> TestLogicalVols.tearDownClass()')
     self.logging.debug('delete the pv and vg created in setup class')
     utils.delete_vg(self.vgname)
     utils.delete_pv(self.dev+'1')
     time.sleep(5)
     utils.del_eckd_partition(self.dev)
     self.logging.info('<-- TestLogicalVols.tearDownClass()')