class_docstr: Test the TestEvent class
class_docstr_tok: ["Test","the","TestEvent","class"]
docstr: StreamAlert CLI - TestEvent Apply Defaults
docstr_tok: ["StreamAlert","CLI","-","TestEvent","Apply","Defaults"]
code: def test_apply_defaults(self):
      """StreamAlert CLI - TestEvent Apply Defaults"""
      override_event = TestEvent(
          basic_test_event_data(override_data={"override": "test"})
      )
  
      override_event._apply_defaults(self.basic_config())
  
      # Ensure the right key was "overridden"
      assert_equal(
          override_event._event["data"],
          {"default": "", "override": "test"},
      )
  
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 28 for calling the TestTestEvent obj's underlying member method code with example usage: obj.test_apply_defaults() without return types