code: def test_get_pool(self):
      pool = pool_api.get_pool(name=self.pools[0].pool)
      assert pool.pool == self.pools[0].pool
  
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 2 for calling the TestPool obj's underlying member method code with example usage: obj.test_get_pool() without return types