class_docstr: Test class for the Terraform Cluster Generating
class_docstr_tok: ["Test","class","for","the","Terraform","Cluster","Generating"]
docstr: CLI - Terraform Generate Test Cluster
docstr_tok: ["CLI","-","Terraform","Generate","Test","Cluster"]
code: def test_generate_cluster_test(self):
      """CLI - Terraform Generate Test Cluster"""
  
      tf_cluster = generate.generate_cluster(
          config=self.config, cluster_name="test"
      )
  
      cluster_keys = {"module", "output"}
  
      test_modules = {
          "classifier_test_lambda",
          "classifier_test_iam",
          "cloudwatch_monitoring_test",
          "kinesis_test",
          "kinesis_events_test",
          "s3_events_unit-test_test_unit-test-bucket",
      }
  
      assert_equal(set(tf_cluster["module"]), test_modules)
      assert_equal(set(tf_cluster), cluster_keys)
  
imports: from mock import ANY, Mock, patch
  from nose.tools import assert_equal, assert_dict_equal, assert_false, assert_raises, assert_true
  from streamalert.shared.exceptions import ConfigError
  from streamalert_cli.config import CLIConfig
  from streamalert_cli.terraform import common, cloudtrail, cloudwatch_destinations, cloudwatch_events, flow_logs, generate
label_desc: Use image node_id 19 for calling the TestTerraformGenerate obj's underlying member method code with example usage: obj.test_generate_cluster_test() without return types