class_docstr: Tests for rule_promotion/promoter.py:RulePromoter
docstr: RulePromoter - Rules Failing Promotion
docstr_tok: ["RulePromoter","-","Rules","Failing","Promotion"]
code: def test_rules_failing_promotion(self):
      """RulePromoter - Rules Failing Promotion"""
      self.promoter._staging_stats["test_rule"].alert_count = 1
      self.promoter._staging_stats["test_rule_2"].alert_count = 0
      assert_equal(
          self.promoter._rules_failing_promotion, ["test_rule"]
      )
  
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 13 for calling the TestRulePromoter obj's underlying member method code with example usage: obj.test_rules_failing_promotion() without return types