class_docstr: Tests for RulesEngine
class_docstr_tok: ["Tests","for","RulesEngine"]
docstr: RulesEngine - Load Rule Table, Disabled
docstr_tok: ["RulesEngine","-","Load","Rule","Table",",","Disabled"]
code: def test_load_rule_table_disabled(self):
      """RulesEngine - Load Rule Table, Disabled"""
      RulesEngine._rule_table = None
      RulesEngine._RULE_TABLE_LAST_REFRESH = datetime(
          year=1970, month=1, day=1
      )
      config = mock_conf()
      config["global"]["infrastructure"]["rule_staging"][
          "enabled"
      ] = False
      RulesEngine._load_rule_table(config)
      assert_equal(RulesEngine._rule_table, None)
      assert_equal(
          RulesEngine._RULE_TABLE_LAST_REFRESH,
          datetime(year=1970, month=1, day=1),
      )
  
imports: from datetime import datetime, timedelta
  from mock import Mock, patch, PropertyMock
  from nose.tools import assert_equal, assert_false, assert_true
  from publishers.community.generic import remove_internal_fields
  from streamalert.shared.publisher import AlertPublisher, Register, DefaultPublisher
  import streamalert.rules_engine.rules_engine
  from streamalert.rules_engine.rules_engine import RulesEngine
label_desc: Use image node_id 3 for calling the TestRulesEngine obj's underlying member method code with example usage: obj.test_load_rule_table_disabled() without return types