code: def test_get_url(mocker, capsys):
      cli_args = parse_args(
          ["get", "repo_url", "src", "--rev", "version", "--show-url"]
      )
      assert cli_args.func == CmdGet
  
      cmd = cli_args.func(cli_args)
      m = mocker.patch("dvc.api.get_url", return_value="resource_url")
  
      assert cmd.run() == 0
      out, _ = capsys.readouterr()
      assert "resource_url" in out
  
      m.assert_called_once_with("src", repo="repo_url", rev="version")
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_url(mocker, capsys) without return types