code: def test_str_on_local_absolute_path(dvc):
      stage = Stage(dvc)
  
      rel_path = os.path.join("path", "to", "file")
      abs_path = os.path.abspath(rel_path)
      output = Output(stage, abs_path, cache=False)
  
      assert output.def_path == rel_path
      assert output.fs_path == abs_path
      assert str(output) == rel_path
  
file_path: dvc/tests/unit/output/test_local.py
imports: import os
  from dvc.output import Output
  from dvc.stage import Stage
  from dvc_data.hashfile.hash_info import HashInfo
  from dvc_data.hashfile.meta import Meta
label_desc: Use image node_id 3 for calling a global function with example usage: test_str_on_local_absolute_path(dvc) without return types