class_docstr: Test the TestEvent class
class_docstr_tok: ["Test","the","TestEvent","class"]
docstr: StreamAlert CLI - TestEvent Apply Helpers
docstr_tok: ["StreamAlert","CLI","-","TestEvent","Apply","Helpers"]
code: def test_apply_helpers(self):
      """StreamAlert CLI - TestEvent Apply Helpers"""
      # Swap out the key's data with a helper identifier
      self._default_event._event["data"]["key"] = "<helper:last_hour>"
  
      with patch("time.time") as time_mock:
          time_mock.return_value = (
              300  # will have 60 subtracted from it
          )
          self._default_event._apply_helpers()
  
      assert_equal(self._default_event._event["data"]["key"], "240")
  
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 27 for calling the TestTestEvent obj's underlying member method code with example usage: obj.test_apply_helpers() without return types