code: def test_list_config(mocker):
      url = "local_dir"
      m = _test_cli(
          mocker,
          url,
          None,
          "--config",
          "myconfig",
          "--remote",
          "myremote",
          "--remote-config",
          "k1=v1",
          "k2=v2",
      )
      m.assert_called_once_with(
          url,
          None,
          recursive=False,
          rev=None,
          dvc_only=False,
          config="myconfig",
          remote="myremote",
          remote_config={"k1": "v1", "k2": "v2"},
      )
  
file_path: dvc/tests/unit/command/ls/test_ls.py
imports: import json
  from dvc.cli import parse_args
  from dvc.commands.ls import CmdList
label_desc: Use image node_id 7 for calling a global function with example usage: test_list_config(mocker) without return types