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

Method testHourly

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

Source from the content-addressed store, hash-verified

1367 datetime(1997, 9, 3, 18, 15)])
1368
1369 def testHourly(self):
1370 self.assertEqual(list(rrule(HOURLY,
1371 count=3,
1372 dtstart=datetime(1997, 9, 2, 9, 0))),
1373 [datetime(1997, 9, 2, 9, 0),
1374 datetime(1997, 9, 2, 10, 0),
1375 datetime(1997, 9, 2, 11, 0)])
1376
1377 def testHourlyInterval(self):
1378 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected