code: def test_pool_import_backwards_compatibility(self, tmp_path):
      pool_import_file_path = tmp_path / "pools_import.json"
      pool_config_input = {
          # JSON before version 2.7.0 does not contain `include_deferred`
          "foo": {"description": "foo_test", "slots": 1},
      }
      with open(pool_import_file_path, mode="w") as file:
          json.dump(pool_config_input, file)
  
      pool_command.pool_import(
          self.parser.parse_args(
              ["pools", "import", str(pool_import_file_path)]
          )
      )
  
      assert (
          self.session.query(Pool)
          .filter(Pool.pool == "foo")
          .first()
          .include_deferred
          is False
      )
  
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 13 for calling the TestCliPools obj's underlying member method code with example usage: obj.test_pool_import_backwards_compatibility(tmp_path) without return types