code: def test_use_config_file(loop):
      port = open_port()
      with new_config_file(tls_only_config()):
          with popen(
              [
                  "dask",
                  "scheduler",
                  "--no-dashboard",
                  "--host",
                  "tls://",
                  "--port",
                  str(port),
              ]
          ) as s:
              with popen(
                  [
                      "dask",
                      "worker",
                      "--no-dashboard",
                      f"tls://127.0.0.1:{port}",
                  ]
              ) as w:
                  with Client(
                      f"tls://127.0.0.1:{port}",
                      loop=loop,
                      security=tls_security(),
                  ) as c:
                      wait_for_cores(c)
  
file_path: distributed/distributed/cli/tests/test_tls_cli.py
imports: from __future__ import annotations
  from time import sleep
  from distributed import Client
  from distributed.metrics import time
  from distributed.utils import open_port
  from distributed.utils_test import get_cert, new_config_file, popen, tls_only_config, tls_security
label_desc: Use image node_id 6 for calling a global function with example usage: test_use_config_file(loop) without return types