code: def test_fsid(tmp_dir, dvc, scm):
      fs = DVCFileSystem(repo=dvc)
      assert fs.fsid == "dvcfs_" + tokenize(dvc.root_dir, scm.get_rev())
      old_fsid = fs.fsid
  
      tmp_dir.dvc_gen({"foo": "foo"}, commit="foo")
      fs = DVCFileSystem(repo=dvc)
      assert fs.fsid != old_fsid
      assert fs.fsid == "dvcfs_" + tokenize(dvc.root_dir, scm.get_rev())
  
imports: import os
  import posixpath
  import shutil
  import pytest
  from fsspec.utils import tokenize
  from dvc.fs import localfs
  from dvc.fs.dvc import DVCFileSystem
  from dvc.testing.tmp_dir import make_subrepo
  from dvc_data.hashfile.build import build
  from dvc_data.hashfile.hash_info import HashInfo
label_desc: Use image node_id 30 for calling a global function with example usage: test_fsid(tmp_dir, dvc, scm) without return types