def tearDown(self):
     if self.inventory_groups_ids:
         for _id in self.inventory_groups_ids:
             delete_inventory_group(_id)
 def test_delete_inventory_group(self):
     inventory_group_info = self._create_inventory_group()
     delete_inventory_group(inventory_group_info.get('id'))