Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/p/e/PerformanceEngine-HEAD/tests/test/test_timeutil.py   PerformanceEngine(Download)
  def test_hour_expiration(self):
    default_exp =  time_util.hour_expiration(_test_datetime=self.time)
    value_exp = time_util.hour_expiration(5,_test_datetime=self.time)
    minute_offset_exp = time_util.hour_expiration(minute_offset=30,_test_datetime=self.time)
    hour_offset_exp = time_util.hour_expiration(hour_offset=2,_test_datetime=self.time)
    hour_minute_offset_exp = time_util.hour_expiration(hour_offset=2,minute_offset=30,_test_datetime=self.time)