class_docstr: Test the TestEvent class
class_docstr_tok: ["Test","the","TestEvent","class"]
docstr: StreamAlert CLI - TestEvent Is Valid Property, Missing Rules
docstr_tok: ["StreamAlert","CLI","-","TestEvent","Is","Valid","Property",",","Missing","Rules"]
code: def test_is_valid_no_trigger_rules(self):
      """StreamAlert CLI - TestEvent Is Valid Property, Missing Rules"""
      # remove key that is required if NOT classify_only
      del self._default_event._event["trigger_rules"]
  
      assert_equal(
          self._default_event.is_valid(self.basic_config()), False
      )
      assert_equal(
          self._default_event.error,
          "Test events that are not 'classify_only' should have 'trigger_rules' defined",
      )
  
imports: from mock import patch
  from nose.tools import assert_equal, nottest
  from streamalert_cli.test.event import TestEvent
  from tests.unit.streamalert_cli.test.helpers import basic_test_event_data
label_desc: Use image node_id 17 for calling the TestTestEvent obj's underlying member method code with example usage: obj.test_is_valid_no_trigger_rules() without return types