code: def test_fstream_requests_error(
      publish_util, mock_server, inject_requests, mocker, capsys
  ):
      # inject a requests error, not a http error
  
      match = inject_requests.Match(path_suffix="/file_stream")
      inject_requests.add(match=match, requests_error=True)
      history = generate_history()
      publish_util(history=history)
      stdout, stderr = capsys.readouterr()
      assert "Dropped streaming file chunk" in stderr
  
label_desc: Use image node_id 4 for calling a global function with example usage: test_fstream_requests_error(publish_util, mock_server, inject_requests, mocker, capsys) without return types