MCPcopy Create free account
hub / github.com/dateutil/dateutil / testHourly

Method testHourly

tests/test_rrule.py:1356–1362  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1354 datetime(1997, 9, 3, 18, 15)])
1355
1356 def testHourly(self):
1357 self.assertEqual(list(rrule(HOURLY,
1358 count=3,
1359 dtstart=datetime(1997, 9, 2, 9, 0))),
1360 [datetime(1997, 9, 2, 9, 0),
1361 datetime(1997, 9, 2, 10, 0),
1362 datetime(1997, 9, 2, 11, 0)])
1363
1364 def testHourlyInterval(self):
1365 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected