code: def _mock_boto(name, **kwargs):
      """Hack to allow mocking boto3.client with moto and our own class"""
      if name == "athena":
          return MockAthenaClient()
  
      return client(name, **kwargs)
  
imports: from datetime import datetime, timedelta
  import os
  from boto3 import client
  from mock import Mock, patch, PropertyMock
  from moto import mock_dynamodb2
  from nose.tools import assert_equal
  from streamalert.rule_promotion.promoter import RulePromoter
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared import config, rule
  from tests.unit.helpers.aws_mocks import MockAthenaClient, setup_mock_rules_table
label_desc: Use image node_id 1 for calling a global function with example usage: _mock_boto(name) and returns: client, MockAthenaClient