code: def test_scm_context_autostage(tmp_dir, scm, dvc):
      tmp_dir.gen("foo", "foo")
      with dvc.scm_context(autostage=True) as context:
          context.track_file("foo")
  
      scm._reset()
      assert scm.is_tracked("foo")
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_scm_context_autostage(tmp_dir, scm, dvc) without return types