code: def test_basic(loop, requires_default_ports):
      with (
          popen(["dask", "scheduler", "--no-dashboard"] + tls_args),
          popen(
              [
                  "dask",
                  "worker",
                  "--no-dashboard",
                  "tls://127.0.0.1:8786",
              ]
              + tls_args
          ),
          Client(
              "tls://127.0.0.1:8786", 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 2 for calling a global function with example usage: test_basic(loop, requires_default_ports) without return types