code: def test_get_stage_files_wdir(tmp_dir, dvc):
      tmp_dir.gen(
          {"dir": {"dvc-dep": "dvc-dep", "other-dep": "other-dep"}}
      )
      dvc.add(os.path.join("dir", "dvc-dep"))
      stage = dvc.stage.create(
          name="stage",
          cmd="foo",
          wdir="dir",
          deps=["dvc-dep", "other-dep"],
          outs=["dvc-out"],
          outs_no_cache=["other-out"],
      )
      assert _get_stage_files(stage) == [
          "dvc.yaml",
          "dvc.lock",
          os.path.join("dir", "other-dep"),
          os.path.join("dir", "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 3 for calling a global function with example usage: test_get_stage_files_wdir(tmp_dir, dvc) without return types