class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - dynamic_outputs is configured
docstr_tok: ["Rule","-","dynamic_outputs","is","configured"]
code: def test_rule_dynamic_outputs(self):
      """Rule - dynamic_outputs is configured"""
  
      def dynamic_function():
          return "aws-sns:test"
  
      self._create_rule_helper(
          "test_rule",
          options={
              "logs": ["log_type_01"],
              "dynamic_outputs": [dynamic_function],
          },
      )
      result = rule.Rule._rules["test_rule"]
  
      # Verify dynamic_outputs is configured
      assert_equal(result.dynamic_outputs, [dynamic_function])
  
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 26 for calling the TestRule obj's underlying member method code with example usage: obj.test_rule_dynamic_outputs() and returns: str