class_docstr: Tests for RulesEngine
class_docstr_tok: ["Tests","for","RulesEngine"]
docstr: RulesEngine - _configure_dynamic_outputs, empty list
docstr_tok: ["RulesEngine","-","_configure_dynamic_outputs",",","empty","list"]
code: def test_configure_dynamic_outputs_empty_list(self):
      """RulesEngine - _configure_dynamic_outputs, empty list"""
      dynamic_output = Mock(return_value=None)
      rule = Mock(
          name="test",
          outputs_set=set(),
          dynamic_outputs_set={dynamic_output},
          publishers=None,
          context=None,
      )
      record = {"foo": "bar"}
  
      with patch.object(
          RulesEngine, "_call_dynamic_output_function"
      ) as call_dynamic:
          call_dynamic.return_value = []
  
          dynamic_outputs = (
              self._rules_engine._configure_dynamic_outputs(
                  record, rule
              )
          )
  
          # Tests
          assert_equal(dynamic_outputs, [])
          call_dynamic.assert_called()
          call_dynamic.assert_called_with(
              dynamic_output, rule.name, [record]
          )
  
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 25 for calling the TestRulesEngine obj's underlying member method code with example usage: obj.test_configure_dynamic_outputs_empty_list() without return types