code: def test_fsid_url(erepo_dir):
      from dvc.repo import Repo
  
      url = f"file://{erepo_dir.as_posix()}"
      with Repo.open(url) as dvc:
          fs = DVCFileSystem(repo=dvc)
          assert fs.fsid == "dvcfs_" + tokenize(
              url, erepo_dir.scm.get_rev()
          )
          old_fsid = fs.fsid
  
      with erepo_dir.chdir():
          erepo_dir.dvc_gen({"foo": "foo"}, commit="foo")
  
      with Repo.open(url) as dvc:
          fs = DVCFileSystem(repo=dvc)
          assert fs.fsid != old_fsid
          assert fs.fsid == "dvcfs_" + tokenize(
              url, erepo_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 31 for calling a global function with example usage: test_fsid_url(erepo_dir) without return types