code: def test_storage_options(tmpdir, pdf, hdfs):
      fname = tmpdir.mkdir("csv").join("file.csv")
      # Write to local file system
      pdf.to_csv(fname)
      # Read from local file system as buffer
      with open(fname, mode="rb") as f:
          buffer = BytesIO(f.read())
      # Write to hdfs
      hdfs.upload(basedir + "/file.csv", buffer)
  
      hd_fpath = f"hdfs://{basedir}/file.csv"
  
      storage_options = {"host": host, "port": port}
  
      got = cudf.read_csv(hd_fpath, storage_options=storage_options)
  
      # Read pandas from byte buffer
      with hdfs.open(basedir + "/file.csv") as f:
          expect = pd.read_csv(f)
  
      assert_eq(expect, got)
  
imports: import os
  from io import BytesIO
  import fastavro
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 12 for calling a global function with example usage: test_storage_options(tmpdir, pdf, hdfs) without return types