code: def test_get_pool_bad_name(self):
      for name in ("", "    "):
          with pytest.raises(
              AirflowBadRequest, match="^Pool name shouldn't be empty$"
          ):
              pool_api.get_pool(name=name)
  
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 4 for calling the TestPool obj's underlying member method code with example usage: obj.test_get_pool_bad_name() without return types