code: def test_config_location(runner: CliRunner, config_dir: str):
      res = runner.invoke(
          cli.app, "config-location", catch_exceptions=False
      )
      assert res.exit_code == 0
      assert res.stdout.strip() == f"{config_dir}/hail/config.ini"
  
file_path: hail/hail/python/test/hailtop/hailctl/config/test_cli.py
imports: import os
  import pytest
  from typer.testing import CliRunner
  from hailtop.config.variables import ConfigVariable
  from hailtop.config.user_config import get_user_config_path
  from hailtop.hailctl.config import cli, config_variables
label_desc: Use image node_id 1 for calling a global function with example usage: test_config_location(runner, config_dir) without return types