code: def test_pool_import_export(self, tmp_path):
      pool_import_file_path = tmp_path / "pools_import.json"
      pool_export_file_path = tmp_path / "pools_export.json"
      pool_config_input = {
          "foo": {
              "description": "foo_test",
              "slots": 1,
              "include_deferred": True,
          },
          "default_pool": {
              "description": "Default pool",
              "slots": 128,
              "include_deferred": False,
          },
          "baz": {
              "description": "baz_test",
              "slots": 2,
              "include_deferred": False,
          },
      }
      with open(pool_import_file_path, mode="w") as file:
          json.dump(pool_config_input, file)
  
      # Import json
      pool_command.pool_import(
          self.parser.parse_args(
              ["pools", "import", str(pool_import_file_path)]
          )
      )
  
      # Export json
      pool_command.pool_export(
          self.parser.parse_args(
              ["pools", "export", str(pool_export_file_path)]
          )
      )
  
      with open(pool_export_file_path) as file:
          pool_config_output = json.load(file)
          assert (
              pool_config_input == pool_config_output
          ), "Input and output pool files are not same"
  
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 14 for calling the TestCliPools obj's underlying member method code with example usage: obj.test_pool_import_export(tmp_path) without return types