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

Method testHourlyBySecond

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

Source from the content-addressed store, hash-verified

1616 datetime(1997, 9, 2, 10, 6)])
1617
1618 def testHourlyBySecond(self):
1619 self.assertEqual(list(rrule(HOURLY,
1620 count=3,
1621 bysecond=(6, 18),
1622 dtstart=datetime(1997, 9, 2, 9, 0))),
1623 [datetime(1997, 9, 2, 9, 0, 6),
1624 datetime(1997, 9, 2, 9, 0, 18),
1625 datetime(1997, 9, 2, 10, 0, 6)])
1626
1627 def testHourlyByHourAndMinute(self):
1628 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected