code: def test_get_stage_files(tmp_dir, dvc):
      tmp_dir.dvc_gen("dvc-dep", "dvc-dep")
      tmp_dir.gen("other-dep", "other-dep")
      stage = dvc.stage.create(
          name="stage",
          cmd="foo",
          deps=["dvc-dep", "other-dep"],
          outs=["dvc-out"],
          outs_no_cache=["other-out"],
      )
      assert _get_stage_files(stage) == [
          "dvc.yaml",
          "dvc.lock",
          "other-dep",
          "other-out",
      ]
  
imports: import os
  from dvc.fs import localfs
  from dvc.stage.utils import _get_stage_files, resolve_paths
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_stage_files(tmp_dir, dvc) without return types