class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - outputs, check outputs_set
docstr_tok: ["Rule","-","outputs",",","check","outputs_set"]
code: def test_rule_outputs_set(self):
      """Rule - outputs, check outputs_set"""
      self._create_rule_helper(
          "test_rule",
          options={
              "logs": ["log_type_01"],
              "outputs": ["aws-sns:test", "aws-sns:test"],
          },
      )
  
      result = rule.Rule._rules["test_rule"]
  
      # Verify outputs is configured
      assert_equal(result.outputs, ["aws-sns:test", "aws-sns:test"])
      assert_true(isinstance(result.outputs_set, set))
      assert_equal(result.outputs_set, {"aws-sns:test"})
  
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 25 for calling the TestRule obj's underlying member method code with example usage: obj.test_rule_outputs_set() without return types