class_docstr: Test class for AthenaClient
docstr: Athena - Get Table Partitions, Exception
docstr_tok: ["Athena","-","Get","Table","Partitions",",","Exception"]
code: def test_get_table_partitions_error(self):
      """Athena - Get Table Partitions, Exception"""
      self.client._client.raise_exception = True
      assert_raises(
          AthenaQueryExecutionError,
          self.client.get_table_partitions,
          "test_table",
      )
  
imports: from datetime import datetime
  import os
  from mock import Mock, patch
  from nose.tools import assert_equal, assert_false, assert_count_equal, assert_raises, assert_true, raises
  from streamalert.shared.athena import AthenaClient, AthenaQueryExecutionError
  from streamalert.shared.config import load_config
  from tests.unit.helpers.aws_mocks import MockAthenaClient
label_desc: Use image node_id 9 for calling the TestAthenaClient obj's underlying member method code with example usage: obj.test_get_table_partitions_error() without return types