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

Method testHourlyByHourAndSecond

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

Source from the content-addressed store, hash-verified

1635 datetime(1997, 9, 3, 6, 6)])
1636
1637 def testHourlyByHourAndSecond(self):
1638 self.assertEqual(list(rrule(HOURLY,
1639 count=3,
1640 byhour=(6, 18),
1641 bysecond=(6, 18),
1642 dtstart=datetime(1997, 9, 2, 9, 0))),
1643 [datetime(1997, 9, 2, 18, 0, 6),
1644 datetime(1997, 9, 2, 18, 0, 18),
1645 datetime(1997, 9, 3, 6, 0, 6)])
1646
1647 def testHourlyByMinuteAndSecond(self):
1648 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected