class_docstr: Test class for AthenaPartitioner when output data in Parquet format
docstr: AthenaPartitioner - Add Partitions
docstr_tok: ["AthenaPartitioner","-","Add","Partitions"]
code: def test_add_partitions(self):
      """AthenaPartitioner - Add Partitions"""
      self._partitioner._s3_buckets_and_keys = {
          "unit-test-streamalerts": {
              b"parquet/alerts/dt=2017-08-27-14/rule_name_alerts-1304134918401.parquet",
              b"parquet/alerts/dt=2020-02-13-08/prefix_streamalert_alert_delivery-01-abcd.parquet",
          },
          "unit-test-streamalert-data": {
              b"log_type_1/2017/08/26/14/test-data-11111-22222-33333.snappy",
              b"log_type_2/2017/08/26/14/test-data-11111-22222-33333.snappy",
              b"log_type_2/2017/08/26/15/test-data-11111-22222-33333.snappy",
              b"log_type_2/2017/08/26/16/test-data-11111-22222-33333.snappy",
              b"log_type_3/2017/08/26/14/test-data-11111-22222-33333.snappy",
              b"log_type_1/2017/08/26/11/test-data-11111-22222-33333.snappy",
          },
          "test-bucket-with-data": {
              b"dt=2020-02-12-05/log_type_1_01234.parquet",
              b"dt=2020-02-12-06/log_type_1_abcd.parquet",
              b"dt=2020-02-12-06/log_type_2_0123.parquet",
              b"dt=2020-02-12-07/log_type_2_abcd.parquet",
          },
      }
      result = self._partitioner._add_partitions()
  
      assert_true(result)
  
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 2 for calling the TestAthenaPartitioner obj's underlying member method code with example usage: obj.test_add_partitions() without return types