class_docstr: Tests for rule_promotion/publisher.py:StatsPublisher
class_docstr_tok: ["Tests","for","rule_promotion\/publisher.py",":","StatsPublisher"]
docstr: StatsPublisher - Setup
docstr_tok: ["StatsPublisher","-","Setup"]
code: def setup(self):
      """StatsPublisher - Setup"""
      # pylint: disable=attribute-defined-outside-init
      self.publisher = StatsPublisher(
          config=config.load_config("tests/unit/conf/"),
          athena_client=None,
          current_time=datetime(
              year=2000, month=1, day=1, hour=1, minute=1, second=1
          ),
      )
  
file_path: streamalert/tests/unit/streamalert/rule_promotion/test_publisher.py
imports: from datetime import datetime, timedelta
  from mock import patch, PropertyMock
  from nose.tools import assert_equal, assert_raises
  from streamalert.rule_promotion.publisher import StatsPublisher
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared import athena, config
label_desc: Use image node_id 1 for calling the TestStatsPublisher obj's underlying member method code with example usage: obj.setup() without return types