class_docstr: TestRuleStats class
class_docstr_tok: ["TestRuleStats","class"]
docstr: RuleStatisticTracker - Statistics Info
docstr_tok: ["RuleStatisticTracker","-","Statistics","Info"]
code: def test_get_rule_stats(self):
      """RuleStatisticTracker - Statistics Info"""
      self._tracker.run_rule(self._fake_rule, {})
      result = stats.RuleStatisticTracker.statistics_info()
      assert_equal(
          result,
          "Rule statistics:\n\ntest_rule       10.00000000 ms       1 calls     10.00000000 avg",
      )
  
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 8 for calling the TestRuleStats obj's underlying member method code with example usage: obj.test_get_rule_stats() without return types