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

Method testMonthlyBySecond

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

Source from the content-addressed store, hash-verified

675 datetime(1997, 10, 2, 9, 6)])
676
677 def testMonthlyBySecond(self):
678 self.assertEqual(list(rrule(MONTHLY,
679 count=3,
680 bysecond=(6, 18),
681 dtstart=datetime(1997, 9, 2, 9, 0))),
682 [datetime(1997, 9, 2, 9, 0, 6),
683 datetime(1997, 9, 2, 9, 0, 18),
684 datetime(1997, 10, 2, 9, 0, 6)])
685
686 def testMonthlyByHourAndMinute(self):
687 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected