code: def test_resolve_rev_empty_git_repo(scm):
      with pytest.raises(
          DvcException, match="unknown Git revision 'HEAD'"
      ):
          resolve_rev(scm, "HEAD")
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_resolve_rev_empty_git_repo(scm) without return types