class_docstr: Test the TestEvent class
class_docstr_tok: ["Test","the","TestEvent","class"]
docstr: StreamAlert CLI - TestEvent Is Valid Property, Extra Keys
docstr_tok: ["StreamAlert","CLI","-","TestEvent","Is","Valid","Property",",","Extra","Keys"]
code: def test_is_valid_extra_keys(self, log_mock):
      """StreamAlert CLI - TestEvent Is Valid Property, Extra Keys"""
      # add an extra random key
      self._default_event._event["extra_thing"] = True
  
      assert_equal(
          self._default_event.is_valid(self.basic_config()), True
      )
      log_mock.assert_called_with(
          "Additional unnecessary keys in test event: %s",
          "'extra_thing'",
      )
  
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 19 for calling the TestTestEvent obj's underlying member method code with example usage: obj.test_is_valid_extra_keys(log_mock) without return types