<commit_before>require 'abstract_unit'

class RdsDbClusterTest < Minitest::Test
  def test_normal
    template = <<-EOS
_rds_db_cluster "test", ref_parameter: "test", ref_subnet: "test", ref_user_name: "test", ref_user_password: "<PASSWORD>", ref_security_groups: "test"
    EOS
    act_template = run_client_as_json(template)
    exp_template = <<-EOS
{
  "TestDbCluster": {
    "Type": "AWS::RDS::DBCluster",
    "Properties": {
      "BackupRetentionPeriod": "7",
      "DatabaseName": {
        "Fn::Join": [
          "-",
          [
            {
              "Ref": "Service"
            },
            {
              "Ref": "Name"
            }
          ]
        ]
      },
      "DBClusterParameterGroupName": {<commit_msg>More fix a test rds db cluster<commit_after>require 'abstract_unit'

class RdsDbClusterTest < Minitest::Test
  def test_normal
    template = <<-EOS
_rds_db_cluster "test", ref_parameter: "test", ref_subnet: "test", ref_user_name: "test", ref_user_password: "<PASSWORD>", ref_security_groups: "test"
    EOS
    act_template = run_client_as_json(template)
    exp_template = <<-EOS
{
  "TestDbCluster": {
    "Type": "AWS::RDS::DBCluster",
    "Properties": {
      "AvailabilityZone": {
        "Fn::GetAtt": [
          "TestSubnet",
          "AvailabilityZone"
        ]
      },
      "BackupRetentionPeriod": "7",
      "DatabaseName": {
        "Fn::Join": [
          "-",
          [
            {
              "Ref": "Service"
            },
            {
              "Ref": "Name"
            }
          ]
        ]
      },
      "DBClusterParameterGroupName": {
{'fraction_non_alphanumeric': 0.14241486068111456, 'fraction_numerical': 0.001238390092879257, 'mean_word_length': 2.0318949343339585, 'pattern_counts': {'":': 20, '<': 15, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4369217', 'n_tokens_mistral': 517, 'n_tokens_neox': 516, 'n_words': 88}