class_docstr: TestRuleStats class
class_docstr_tok: ["TestRuleStats","class"]
docstr: RuleStatisticTracker - Statistics Info, Retain Results
docstr_tok: ["RuleStatisticTracker","-","Statistics","Info",",","Retain","Results"]
code: def test_get_rule_stats_retain(
      self,
  ):
      """RuleStatisticTracker - Statistics Info, Retain Results"""
      self._tracker.run_rule(self._fake_rule, {})
      assert_equal(len(self._tracker.STATS), 1)
      new_tracker = stats.RuleStatisticTracker(True, False)
      assert_equal(len(new_tracker.STATS), 1)
  
file_path: streamalert/tests/unit/streamalert/shared/test_stats.py
imports: from collections import namedtuple
  from mock import Mock, patch
  from nose.tools import assert_equal
  from streamalert.shared import stats
label_desc: Use image node_id 9 for calling the TestRuleStats obj's underlying member method code with example usage: obj.test_get_rule_stats_retain() without return types