class_docstr: Test class for AthenaClient
docstr: Athena - Query Result Paginator, Exception
docstr_tok: ["Athena","-","Query","Result","Paginator",",","Exception"]
code: def test_query_result_paginator_error(self):
      """Athena - Query Result Paginator, Exception"""
      self.client._client.raise_exception = True
      list(self.client.query_result_paginator("test query"))
  
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 19 for calling the TestAthenaClient obj's underlying member method code with example usage: obj.test_query_result_paginator_error() without return types