code: def test_request_generate_lines_from_list():
      def random_lines(num_lines):
          return [f"i'm dummy doc {j}" for j in range(1, num_lines + 1)]
  
      req = request_generator(
          "", data=random_lines(100), request_size=100
      )
  
      request = next(req)
      assert len(request.docs) == 100
      for index, doc in enumerate(request.docs, 1):
          assert doc.text == f"i'm dummy doc {index}"
  
file_path: jina/tests/unit/clients/python/test_request.py
imports: import os
  import numpy
  import pytest
  from docarray import Document
  from jina.clients.request import request_generator
  from jina.clients.request.helper import _new_doc_from_data
  from jina.enums import DataInputType
label_desc: Use image node_id 4 for calling a global function with example usage: test_request_generate_lines_from_list() and returns: unknown