def remove_sans_property_managers(self): property_manager_names_to_delete = [] for name in PropertyManagerDataService.getObjectNames(): if name.startswith(self.sans_property_manager_prefix): property_manager_names_to_delete.append(name) for element in property_manager_names_to_delete: PropertyManagerDataService.remove(element)
def _remove_all_property_managers(): for element in PropertyManagerDataService.getObjectNames(): PropertyManagerDataService.remove(element)
def _clear_property_manager_data_service(): for element in PropertyManagerDataService.getObjectNames(): if PropertyManagerDataService.doesExist(element): PropertyManagerDataService.remove(element)
def tearDownClass(cls): mtd.clear() PropertyManagerDataService.remove('props')