code: def test_import_url(mocker, dvc):
      cli_args = parse_args(
          [
              "import-url",
              "src",
              "out",
              "--jobs",
              "4",
          ]
      )
      assert cli_args.func == CmdImportUrl
  
      cmd = cli_args.func(cli_args)
      m = mocker.patch.object(cmd.repo, "imp_url", autospec=True)
  
      assert cmd.run() == 0
  
      m.assert_called_once_with(
          "src",
          out="out",
          no_exec=False,
          no_download=False,
          remote=None,
          to_remote=False,
          jobs=4,
          force=False,
          version_aware=False,
          fs_config=None,
      )
  
file_path: dvc/tests/unit/command/test_imp_url.py
imports: import logging
  import pytest
  from dvc.cli import parse_args
  from dvc.commands.imp_url import CmdImportUrl
  from dvc.exceptions import DvcException
label_desc: Use image node_id 1 for calling a global function with example usage: test_import_url(mocker, dvc) without return types