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

Method testMonthlyBySetPos

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

Source from the content-addressed store, hash-verified

712 datetime(1997, 9, 2, 18, 18, 6)])
713
714 def testMonthlyBySetPos(self):
715 self.assertEqual(list(rrule(MONTHLY,
716 count=3,
717 bymonthday=(13, 17),
718 byhour=(6, 18),
719 bysetpos=(3, -3),
720 dtstart=datetime(1997, 9, 2, 9, 0))),
721 [datetime(1997, 9, 13, 18, 0),
722 datetime(1997, 9, 17, 6, 0),
723 datetime(1997, 10, 13, 18, 0)])
724
725 def testWeekly(self):
726 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected