code: def test_experiments_status(dvc, scm, mocker, capsys):
      from datetime import datetime
  
      cli_args = parse_args(
          [
              "queue",
              "status",
          ]
      )
      assert cli_args.func == CmdQueueStatus
  
      cmd = cli_args.func(cli_args)
      status_result = [
          {
              "rev": "c61a525a4ff39007301b4516fb6e54b323a0587b",
              "name": "I40",
              "timestamp": datetime(2022, 6, 9, 20, 49, 48),
              "status": "Queued",
          },
          {
              "rev": "8da9c339da30636261a3491a90aafdb760a4168f",
              "name": "I60",
              "timestamp": datetime(2022, 6, 9, 20, 49, 43),
              "status": "Running",
          },
      ]
      m = mocker.patch(
          "dvc.repo.experiments.queue.celery.LocalCeleryQueue.status",
          return_value=status_result,
      )
  
      assert cmd.run() == 0
      m.assert_called_once_with()
      log, _ = capsys.readouterr()
      assert "Task     Name    Created       Status" in log
      assert "c61a525  I40     Jun 09, 2022  Queued" in log
      assert "8da9c33  I60     Jun 09, 2022  Running" 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 8 for calling a global function with example usage: test_experiments_status(dvc, scm, mocker, capsys) without return types