code: def test_executor_status_compatibility():
      data = {
          "git_url": "file:///Users/home",
          "baseline_rev": "123",
          "location": "dvc-task",
          "root_dir": "/Users/home/8088/.dvc/tmp/exps/tmpx85892cx",
          "dvc_dir": ".dvc",
          "collected": True,
      }
      result = ExecutorInfo.from_dict(data)
      assert result.status == TaskStatus.FINISHED
  
file_path: dvc/tests/unit/repo/experiments/test_executor_status.py
imports: import os
  import pytest
  from dvc.exceptions import ReproductionError
  from dvc.repo.experiments.executor.base import ExecutorInfo, TaskStatus
  from dvc.repo.experiments.queue.tasks import cleanup_exp, collect_exp, setup_exp
label_desc: Use image node_id 5 for calling a global function with example usage: test_executor_status_compatibility() without return types