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

Method testWeeklyByMonthDayAndWeekDay

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

Source from the content-addressed store, hash-verified

818 datetime(1998, 1, 8, 9, 0)])
819
820 def testWeeklyByMonthDayAndWeekDay(self):
821 self.assertEqual(list(rrule(WEEKLY,
822 count=3,
823 bymonthday=(1, 3),
824 byweekday=(TU, TH),
825 dtstart=datetime(1997, 9, 2, 9, 0))),
826 [datetime(1998, 1, 1, 9, 0),
827 datetime(1998, 2, 3, 9, 0),
828 datetime(1998, 3, 3, 9, 0)])
829
830 def testWeeklyByMonthAndMonthDayAndWeekDay(self):
831 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected