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

Method testHourlyBySecond

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

Source from the content-addressed store, hash-verified

1603 datetime(1997, 9, 2, 10, 6)])
1604
1605 def testHourlyBySecond(self):
1606 self.assertEqual(list(rrule(HOURLY,
1607 count=3,
1608 bysecond=(6, 18),
1609 dtstart=datetime(1997, 9, 2, 9, 0))),
1610 [datetime(1997, 9, 2, 9, 0, 6),
1611 datetime(1997, 9, 2, 9, 0, 18),
1612 datetime(1997, 9, 2, 10, 0, 6)])
1613
1614 def testHourlyByHourAndMinute(self):
1615 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected