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

Method testSecondlyByMonthAndNWeekDay

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

Source from the content-addressed store, hash-verified

2068 datetime(1998, 1, 1, 0, 0, 2)])
2069
2070 def testSecondlyByMonthAndNWeekDay(self):
2071 self.assertEqual(list(rrule(SECONDLY,
2072 count=3,
2073 bymonth=(1, 3),
2074 byweekday=(TU(1), TH(-1)),
2075 dtstart=datetime(1997, 9, 2, 9, 0))),
2076 [datetime(1998, 1, 1, 0, 0, 0),
2077 datetime(1998, 1, 1, 0, 0, 1),
2078 datetime(1998, 1, 1, 0, 0, 2)])
2079
2080 def testSecondlyByMonthDayAndWeekDay(self):
2081 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected