class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - Create Rule, Missing Args
docstr_tok: ["Rule","-","Create","Rule",",","Missing","Args"]
code: def test_rule_invalid(self):
      """Rule - Create Rule, Missing Args"""
      # Rules must either have `logs` or `datatypes` defined
      self._create_rule_helper(
          "test_rule", {"outputs": ["fake_output"]}
      )
  
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 5 for calling the TestRule obj's underlying member method code with example usage: obj.test_rule_invalid() without return types