class_docstr: Test class for AthenaClient
docstr: Athena - Execute and Wait, Failed
docstr_tok: ["Athena","-","Execute","and","Wait",",","Failed"]
code: def test_execute_and_wait_failed(self):
      """Athena - Execute and Wait, Failed"""
      query = "SQL query"
      self.client._client.result_state = "FAILED"
      assert_raises(
          AthenaQueryExecutionError,
          self.client._execute_and_wait,
          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 17 for calling the TestAthenaClient obj's underlying member method code with example usage: obj.test_execute_and_wait_failed() without return types