code: def test_worker_status(
      dvc, scm, worker_status, output, mocker, capsys
  ):
      cli_args = parse_args(
          [
              "queue",
              "status",
          ]
      )
      assert cli_args.func == CmdQueueStatus
  
      cmd = cli_args.func(cli_args)
      mocker.patch(
          "dvc.repo.experiments.queue.celery.LocalCeleryQueue.status",
          return_value=[],
      )
      m = mocker.patch(
          "dvc.repo.experiments.queue.celery.LocalCeleryQueue.worker_status",
          return_value=worker_status,
      )
  
      assert cmd.run() == 0
      m.assert_called_once_with()
      log, _ = capsys.readouterr()
      assert "No experiment tasks in the queue." in log
      assert output in log
  
file_path: dvc/tests/unit/command/test_queue.py
imports: import pytest
  from dvc.cli import parse_args
  from dvc.commands.queue.kill import CmdQueueKill
  from dvc.commands.queue.logs import CmdQueueLogs
  from dvc.commands.queue.remove import CmdQueueRemove
  from dvc.commands.queue.start import CmdQueueStart
  from dvc.commands.queue.status import CmdQueueStatus
  from dvc.commands.queue.stop import CmdQueueStop
  from dvc.exceptions import InvalidArgumentError
label_desc: Use image node_id 7 for calling a global function with example usage: test_worker_status(dvc, scm, worker_status, output, mocker, capsys) without return types