code: def test_delete_pool(self):
      pool = pool_api.delete_pool(name=self.pools[-1].pool)
      assert pool.pool == self.pools[-1].pool
      with create_session() as session:
          assert (
              session.query(models.Pool).count()
              == self.TOTAL_POOL_COUNT - 1
          )
  
imports: from __future__ import annotations
  import random
  import string
  import pytest
  from airflow import models
  from airflow.api.common.experimental import pool
  from airflow.exceptions import AirflowBadRequest, PoolNotFound
  from airflow.models.pool import Pool
  from airflow.utils.session import create_session
  from tests.test_utils.db import clear_db_pools
label_desc: Use image node_id 11 for calling the TestPool obj's underlying member method code with example usage: obj.test_delete_pool() without return types