code: def test_cloud_status(tmp_dir, dvc, mocker):
      cli_args = parse_args(
          [
              "status",
              "--cloud",
              "target1",
              "target2",
              "--jobs",
              "2",
              "--remote",
              "remote",
              "--all-branches",
              "--all-tags",
              "--all-commits",
              "--with-deps",
              "--recursive",
          ]
      )
      assert cli_args.func == CmdDataStatus
  
      cmd = cli_args.func(cli_args)
      m = mocker.patch.object(
          cmd.repo, "status", autospec=True, return_value={}
      )
  
      assert cmd.run() == 0
  
      m.assert_called_once_with(
          cloud=True,
          targets=["target1", "target2"],
          jobs=2,
          remote="remote",
          all_branches=True,
          all_tags=True,
          all_commits=True,
          with_deps=True,
          recursive=True,
      )
  
file_path: dvc/tests/unit/command/test_status.py
imports: import json
  import pytest
  from dvc.cli import parse_args
  from dvc.commands.status import CmdDataStatus
label_desc: Use image node_id 1 for calling a global function with example usage: test_cloud_status(tmp_dir, dvc, mocker) without return types