class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - Disabled Rule
docstr_tok: ["Rule","-","Disabled","Rule"]
code: def test_rule_disable(self):
      """Rule - Disabled Rule"""
  
      @rule.disable
      @rule.rule(logs=["log_type"])
      def test_rule_disabled(_):  # pylint: disable=unused-variable
          return False
  
      assert_equal(
          rule.Rule._rules["test_rule_disabled"].disabled, True
      )
  
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 7 for calling the TestRule obj's underlying member method code with example usage: obj.test_rule_disable() and returns: False