class_docstr: Tests for RulesEngine
class_docstr_tok: ["Tests","for","RulesEngine"]
docstr: RulesEngine - Run, No Rules
docstr_tok: ["RulesEngine","-","Run",",","No","Rules"]
code: def test_run_no_rules(self, log_mock):
      """RulesEngine - Run, No Rules"""
      self._rules_engine._threat_intel = None
      with patch.object(
          self._rules_engine, "_alert_forwarder"
      ), patch.object(rules_engine_module, "Rule") as rule_mock:
          rule_mock.rules_for_log_type.return_value = None
  
          records = [
              {
                  "record": {"key_01": "value_01"},
                  "log_schema_type": "log_type",
              }
          ]
  
          self._rules_engine.run(records)
          log_mock.assert_called_with(
              "No rules to process for %s", records[0]
          )
  
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 43 for calling the TestRulesEngine obj's underlying member method code with example usage: obj.test_run_no_rules(log_mock) without return types