class_docstr: Test class for AthenaPartitioner when output data in Parquet format
docstr: AthenaPartitioner - Run, Bad Bucket Name
docstr_tok: ["AthenaPartitioner","-","Run",",","Bad","Bucket","Name"]
code: def test_run_invalid_bucket(self, log_mock):
      """AthenaPartitioner - Run, Bad Bucket Name"""
      event = self._create_test_message(0)
      bucket = "bad.bucket.name"
      s3_record = self._s3_record(1)
      s3_record["Records"][0]["s3"]["bucket"]["name"] = bucket
      event["Records"][0]["body"] = json.dumps(s3_record)
      self._partitioner.run(event)
      log_mock.assert_called_with(
          "'%s' not found in 'buckets' config. Please add this "
          "bucket to enable additions of Hive partitions.",
          bucket,
      )
  
imports: import json
  import os
  from mock import Mock, patch, call
  from nose.tools import assert_equal, assert_true
  from streamalert.athena_partitioner.main import AthenaPartitioner
  from streamalert.shared.config import load_config
  from tests.unit.helpers.aws_mocks import MockAthenaClient
label_desc: Use image node_id 12 for calling the TestAthenaPartitioner obj's underlying member method code with example usage: obj.test_run_invalid_bucket(log_mock) without return types