code: def test_add_partition_statements():
      """CLI - Athena Add Partition Statement"""
      partitions = {
          "dt=2017-12-01-01",
          "dt=2016-12-01-02",
          "dt=2018-12-01-05",
          "dt=2013-12-01-04",
      }
  
      expected_result = (
          "ALTER TABLE test ADD IF NOT EXISTS "
          "PARTITION (dt = '2013-12-01-04') "
          "LOCATION 's3://bucket/test/2013/12/01/04' "
          "PARTITION (dt = '2016-12-01-02') "
          "LOCATION 's3://bucket/test/2016/12/01/02' "
          "PARTITION (dt = '2017-12-01-01') "
          "LOCATION 's3://bucket/test/2017/12/01/01' "
          "PARTITION (dt = '2018-12-01-05') "
          "LOCATION 's3://bucket/test/2018/12/01/05'"
      )
  
      results = helpers.add_partition_statements(
          partitions, "bucket", "test"
      )
      results_copy = list(results)
      assert_equal(len(results_copy), 1)
      assert_equal(results_copy[0], expected_result)
  
file_path: streamalert/tests/unit/streamalert_cli/athena/test_helpers.py
imports: from mock import patch
  from nose.tools import assert_equal, assert_true
  from streamalert_cli.athena import helpers
  from streamalert_cli.config import CLIConfig
  from streamalert.shared.firehose import FirehoseClient
label_desc: Use image node_id 4 for calling a global function with example usage: test_add_partition_statements() without return types