class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - Get Rule
docstr_tok: ["Rule","-","Get","Rule"]
code: def test_get_rule(self):
      """Rule - Get Rule"""
      rule_name = "test_rule"
      self._create_rule_helper(rule_name)
      result = rule.Rule.get_rule(rule_name)
      assert_equal(result.name, rule_name)
  
imports: import hashlib
  from mock import patch
  from nose.tools import assert_equal, assert_true, raises
  from streamalert.shared import rule, rule_table
label_desc: Use image node_id 15 for calling the TestRule obj's underlying member method code with example usage: obj.test_get_rule() without return types