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

Method testHourlyInterval

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

Source from the content-addressed store, hash-verified

1375 datetime(1997, 9, 2, 11, 0)])
1376
1377 def testHourlyInterval(self):
1378 self.assertEqual(list(rrule(HOURLY,
1379 count=3,
1380 interval=2,
1381 dtstart=datetime(1997, 9, 2, 9, 0))),
1382 [datetime(1997, 9, 2, 9, 0),
1383 datetime(1997, 9, 2, 11, 0),
1384 datetime(1997, 9, 2, 13, 0)])
1385
1386 def testHourlyIntervalLarge(self):
1387 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected