code: def test_kinesis_events():
      """CLI - Terraform Generate Kinesis Events"""
      cluster_dict = common.infinitedict()
      result = kinesis_events.generate_kinesis_events(
          "advanced", cluster_dict, CONFIG
      )
  
      expected_result = {
          "module": {
              "kinesis_events_advanced": {
                  "source": "./modules/tf_kinesis_events",
                  "batch_size": 100,
                  "lambda_production_enabled": True,
                  "lambda_role_id": "${module.classifier_advanced_lambda.role_id}",
                  "lambda_function_alias_arn": (
                      "${module.classifier_advanced_lambda.function_alias_arn}"
                  ),
                  "kinesis_stream_arn": "${module.kinesis_advanced.arn}",
              }
          }
      }
  
      assert_true(result)
      assert_equal(cluster_dict, expected_result)
  
imports: from nose.tools import assert_equal, assert_true
  from streamalert_cli.config import CLIConfig
  from streamalert_cli.terraform import common, kinesis_events
label_desc: Use image node_id 1 for calling a global function with example usage: test_kinesis_events() without return types