code: def test_pool_delete(self):
      pool_command.pool_set(
          self.parser.parse_args(["pools", "set", "foo", "1", "test"])
      )
      pool_command.pool_delete(
          self.parser.parse_args(["pools", "delete", "foo"])
      )
      assert self.session.query(Pool).count() == 1
  
imports: from __future__ import annotations
  import json
  from contextlib import redirect_stdout
  from io import StringIO
  import pytest
  from airflow import models, settings
  from airflow.cli import cli_parser
  from airflow.cli.commands import pool_command
  from airflow.models import Pool
  from airflow.settings import Session
  from airflow.utils.db import add_default_pool_if_not_exists
label_desc: Use image node_id 9 for calling the TestCliPools obj's underlying member method code with example usage: obj.test_pool_delete() without return types