class_docstr: Tests for rule_promotion/statistic.py:StagingStatistic
docstr: StagingStatistic - Setup
docstr_tok: ["StagingStatistic","-","Setup"]
code: def setup(self):
      """StagingStatistic - Setup"""
      # pylint: disable=attribute-defined-outside-init
      stage_time = datetime(
          year=2000, month=1, day=1, hour=1, minute=1, second=1
      )
      self.statistic = StagingStatistic(
          staged_at=stage_time,
          staged_until=stage_time + timedelta(days=2),
          current_time=stage_time + timedelta(days=1),
          rule="test_rule",
      )
  
file_path: streamalert/tests/unit/streamalert/rule_promotion/test_statistic.py
imports: from datetime import datetime, timedelta
  import os
  from mock import patch
  from nose.tools import assert_equal
  from streamalert.rule_promotion.statistic import StagingStatistic
label_desc: Use image node_id 1 for calling the TestStagingStatistic obj's underlying member method code with example usage: obj.setup() without return types