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

Method testSecondlyByMonthDayAndWeekDay

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

Source from the content-addressed store, hash-verified

2065 datetime(1998, 1, 1, 0, 0, 2)])
2066
2067 def testSecondlyByMonthDayAndWeekDay(self):
2068 self.assertEqual(list(rrule(SECONDLY,
2069 count=3,
2070 bymonthday=(1, 3),
2071 byweekday=(TU, TH),
2072 dtstart=datetime(1997, 9, 2, 9, 0))),
2073 [datetime(1998, 1, 1, 0, 0, 0),
2074 datetime(1998, 1, 1, 0, 0, 1),
2075 datetime(1998, 1, 1, 0, 0, 2)])
2076
2077 def testSecondlyByMonthAndMonthDayAndWeekDay(self):
2078 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected