code: def test_gfile_read(local_content, remote_filename):
      """Test case to read chunks of content from the http file"""
  
      remote_gfile = tf.io.gfile.GFile(remote_filename)
      assert remote_gfile.size() == len(local_content)
      offset_start = list(range(0, len(local_content), 100))
      offset_stop = offset_start[1:] + [len(local_content)]
      for start, stop in zip(offset_start, offset_stop):
          assert remote_gfile.read(100) == local_content[start:stop]
  
file_path: io/tests/test_http.py
imports: import os
  import sys
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 6 for calling a global function with example usage: test_gfile_read(local_content, remote_filename) without return types