code: def validate_exit_status(status_str, expected):
      assert RunStatus.from_string(status_str) == expected
  
file_path: mlflow/tests/projects/utils.py
imports: import filecmp
  import logging
  import os
  import shutil
  import pytest
  from mlflow.entities import RunStatus
  from mlflow.projects import _project_spec
  from mlflow.utils.file_utils import TempDir, _copy_project
label_desc: Use image node_id 2 for calling a global function with example usage: validate_exit_status(status_str, expected) without return types