class_docstr: TestRuleStats class
class_docstr_tok: ["TestRuleStats","class"]
code: def setup(self):
      stats.RuleStatisticTracker.STATS.clear()
      self._fake_rule = namedtuple("Rule", ["name", "process"])(
          "test_rule", lambda r: False
      )
      self._tracker = stats.RuleStatisticTracker(True)
  
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 1 for calling the TestRuleStats obj's underlying member method code with example usage: obj.setup() without return types