class_docstr: Class for handling testing of the app integration output batcher
docstr: App Integration Batcher - Send Logs to StreamAlert, Exceeds Size
docstr_tok: ["App","Integration","Batcher","-","Send","Logs","to","StreamAlert",",","Exceeds","Size"]
code: def test_send_logs_lambda_too_large(self):
      """App Integration Batcher - Send Logs to StreamAlert, Exceeds Size"""
      # The length of the below list of logs dumped to json should exceed the
      # max AWS lambda input size of 128000 (this results in 128001)
      logs = [
          {
              "timestamp": "time",
              "eventtype": "authentication",
              "host": "host",
          }
          for _ in range(2000)
      ]
      result = self.batcher._send_logs_to_lambda(logs)
  
      assert_false(result)
  
file_path: streamalert/tests/unit/streamalert/apps/test_batcher.py
imports: import os
  from botocore.exceptions import ClientError
  from mock import patch
  from nose.tools import assert_equal, assert_false, assert_true, raises
  from streamalert.apps.batcher import Batcher
  from tests.unit.streamalert.apps.test_helpers import MockLambdaClient
label_desc: Use image node_id 4 for calling the TestAppBatcher obj's underlying member method code with example usage: obj.test_send_logs_lambda_too_large() without return types