code: def test_list_recursive(mocker):
      url = "local_dir"
      m = _test_cli(mocker, url, "-R")
      m.assert_called_once_with(
          url,
          None,
          recursive=True,
          rev=None,
          dvc_only=False,
          config=None,
          remote=None,
          remote_config=None,
      )
  
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 3 for calling a global function with example usage: test_list_recursive(mocker) without return types