class_docstr: Tests for rule_promotion/promoter.py:RulePromoter
docstr: Helper to create a fake local rule with specified name
docstr_tok: ["Helper","to","create","a","fake","local","rule","with","specified","name"]
code: def _create_local_rule_with_name(name):
      """Helper to create a fake local rule with specified name"""
      rule_module.Rule(Mock(__name__=name), logs=["fake_log_type"])
  
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 4 for calling the TestRulePromoter obj's underlying member method code with example usage: obj._create_local_rule_with_name(name) without return types