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

Method testMonthlyByHourAndSecond

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

Source from the content-addressed store, hash-verified

694 datetime(1997, 10, 2, 6, 6)])
695
696 def testMonthlyByHourAndSecond(self):
697 self.assertEqual(list(rrule(MONTHLY,
698 count=3,
699 byhour=(6, 18),
700 bysecond=(6, 18),
701 dtstart=datetime(1997, 9, 2, 9, 0))),
702 [datetime(1997, 9, 2, 18, 0, 6),
703 datetime(1997, 9, 2, 18, 0, 18),
704 datetime(1997, 10, 2, 6, 0, 6)])
705
706 def testMonthlyByMinuteAndSecond(self):
707 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected