code: def no_remote_data(monkeypatch, tmpdir):
      """Run tests without relying on remote data"""
  
      filename = os.path.join(
          str(tmpdir), os.path.basename("test_remote.csv")
      )
      with open(filename, "w") as fdo:
          fdo.write("x,y\n0,1")
      url = urlunsplit(("file", "", filename, "", ""))
  
      monkeypatch.setitem(
          DATASETS,
          "test_remote",
          FileMetadata(
              filename=filename,
              url=url,
              checksum="2c5501a9f5d7b6998fc7e6a4651030b9765032b2e5a1d7331f5b1f3df6c632a5",
              description="aquella solitaria vaca cubana",
          ),
      )
      monkeypatch.setitem(
          DATASETS,
          "bad_checksum",
          FileMetadata(
              filename=filename,
              url=url,
              checksum="bad!",
              description="aquella solitaria vaca cubana",
          ),
      )
  
file_path: bambi/tests/test_data.py
imports: import os
  from urllib.parse import urlunsplit
  import pandas
  import pytest
  import bambi
  from bambi.data.datasets import DATASETS, FileMetadata
label_desc: Use image node_id 1 for calling a global function with example usage: no_remote_data(monkeypatch, tmpdir) without return types