def tearDown(self): # Destroy all taskdetails from the backend for id in self.td_ids: b_api.taskdetail_destroy(id) # Clear the list of taskdetail names and uuids utils.drain(self.td_names) utils.drain(self.td_ids)
def tearDown(self): # Destroy all taskdetails and flowdetails in the backend for id in self.td_ids: b_api.taskdetail_destroy(id) for id in self.fd_ids: b_api.flowdetail_destroy(id) # Drain the lists of taskdetail and flowdetail uuids and names utils.drain(self.fd_names) utils.drain(self.fd_ids) utils.drain(self.td_names) utils.drain(self.td_ids)
def tearDown(self): # Destroy all flowdetails and logbooks in the backend for id in self.fd_ids: b_api.flowdetail_destroy(id) for id in self.lb_ids: b_api.logbook_destroy(id) # Clear the lists of logbook and flowdetail uuids and names utils.drain(self.lb_names) utils.drain(self.lb_ids) utils.drain(self.fd_names) utils.drain(self.fd_ids)
def tearDownClass(cls): # Clear the tasks utils.drain(cls.tsks)
def tearDownClass(cls): # Clear out the lists of workflows and tasks utils.drain(cls.wfs) utils.drain(cls.tsks)
def tearDownClass(cls): # Empty the list of workflows utils.drain(cls.wfs)