docstr: StreamQuery - QueryParameterGenerator - generate - utcdatehour_minus1day
docstr_tok: ["StreamQuery","-","QueryParameterGenerator","-","generate","-","utcdatehour_minus1day"]
code: def test_generate_utcdatehour_minus1day(self):
      """StreamQuery - QueryParameterGenerator - generate - utcdatehour_minus1day"""
      assert_equals(
          self._generator.generate("utcdatehour_minus1day"),
          "2018-12-31-01",
      )
  
imports: from datetime import datetime, timezone
  from mock import MagicMock, patch
  from nose.tools import assert_equals, assert_false, assert_true
  from streamalert.scheduled_queries.query_packs.manager import QueryPack, QueryPacksManager, QueryPackExecutionContext, QueryPacksManagerFactory
  from streamalert.scheduled_queries.query_packs.parameters import QueryParameterGenerator
label_desc: Use image node_id 7 for calling the TestQueryParameterGenerator obj's underlying member method code with example usage: obj.test_generate_utcdatehour_minus1day() without return types