code: def test_pool_import_invalid_pools(self, tmp_path):
      invalid_pool_import_file_path = (
          tmp_path / "pools_import_invalid.json"
      )
      pool_config_input = {
          "foo": {"description": "foo_test", "include_deferred": False}
      }
      with open(invalid_pool_import_file_path, mode="w") as file:
          json.dump(pool_config_input, file)
  
      with pytest.raises(SystemExit):
          pool_command.pool_import(
              self.parser.parse_args(
                  [
                      "pools",
                      "import",
                      str(invalid_pool_import_file_path),
                  ]
              )
          )
  
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 12 for calling the TestCliPools obj's underlying member method code with example usage: obj.test_pool_import_invalid_pools(tmp_path) without return types