code: def test_scm_context_on_no_files_to_track(
      caplog, scm_context, autostage, quiet
  ):
      with scm_context(autostage=autostage, quiet=quiet):
          pass
  
      scm_context.scm.assert_not_called()
      assert not caplog.text
  
file_path: dvc/tests/unit/repo/test_scm_context.py
imports: import re
  import pytest
  from dvc.repo.scm_context import SCMContext
  from dvc.scm import Git, NoSCM
label_desc: Use image node_id 10 for calling a global function with example usage: test_scm_context_on_no_files_to_track(caplog, scm_context, autostage, quiet) without return types