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

Method testSecondlyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

2058 datetime(1997, 9, 2, 9, 0, 2)])
2059
2060 def testSecondlyByMonthAndWeekDay(self):
2061 self.assertEqual(list(rrule(SECONDLY,
2062 count=3,
2063 bymonth=(1, 3),
2064 byweekday=(TU, TH),
2065 dtstart=datetime(1997, 9, 2, 9, 0))),
2066 [datetime(1998, 1, 1, 0, 0, 0),
2067 datetime(1998, 1, 1, 0, 0, 1),
2068 datetime(1998, 1, 1, 0, 0, 2)])
2069
2070 def testSecondlyByMonthAndNWeekDay(self):
2071 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected