class_docstr: Tests for RulesEngine
class_docstr_tok: ["Tests","for","RulesEngine"]
docstr: RulesEngine - Process Subkeys, Missing Key
docstr_tok: ["RulesEngine","-","Process","Subkeys",",","Missing","Key"]
code: def test_process_subkeys_missing_key(self):
      """RulesEngine - Process Subkeys, Missing Key"""
      rule = Mock(req_subkeys={"data": ["location"]}, name="test_rule")
  
      record = {"host": "host1.web.prod.net"}
  
      result = RulesEngine._process_subkeys(record, rule)
      assert_equal(result, False)
  
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 7 for calling the TestRulesEngine obj's underlying member method code with example usage: obj.test_process_subkeys_missing_key() without return types