code: def test_run_load_one_on_single_stage(tmp_dir, dvc):
      (stage,) = tmp_dir.dvc_gen("foo", "foo")
      assert isinstance(load_file(dvc, stage.path), SingleStageFile)
      assert (
          load_file(dvc, stage.path).stages.get("random-name") == stage
      )
      assert load_file(dvc, stage.path).stage == stage
  
imports: import textwrap
  import pytest
  from dvc.annotations import Annotation
  from dvc.dvcfile import LOCK_FILE, PROJECT_FILE, ParametrizedDumpError, SingleStageFile, load_file
  from dvc.stage.exceptions import StageFileDoesNotExistError
  from dvc.stage.loader import StageNotFound
  from dvc.utils.strictyaml import YAMLValidationError
label_desc: Use image node_id 4 for calling a global function with example usage: test_run_load_one_on_single_stage(tmp_dir, dvc) without return types