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

Method testMonthlyBySecond

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

Source from the content-addressed store, hash-verified

662 datetime(1997, 10, 2, 9, 6)])
663
664 def testMonthlyBySecond(self):
665 self.assertEqual(list(rrule(MONTHLY,
666 count=3,
667 bysecond=(6, 18),
668 dtstart=datetime(1997, 9, 2, 9, 0))),
669 [datetime(1997, 9, 2, 9, 0, 6),
670 datetime(1997, 9, 2, 9, 0, 18),
671 datetime(1997, 10, 2, 9, 0, 6)])
672
673 def testMonthlyByHourAndMinute(self):
674 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected