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

Method testSecondlyByNWeekDay

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

Source from the content-addressed store, hash-verified

2049 datetime(1997, 9, 2, 9, 0, 2)])
2050
2051 def testSecondlyByNWeekDay(self):
2052 self.assertEqual(list(rrule(SECONDLY,
2053 count=3,
2054 byweekday=(TU(1), TH(-1)),
2055 dtstart=datetime(1997, 9, 2, 9, 0))),
2056 [datetime(1997, 9, 2, 9, 0, 0),
2057 datetime(1997, 9, 2, 9, 0, 1),
2058 datetime(1997, 9, 2, 9, 0, 2)])
2059
2060 def testSecondlyByMonthAndWeekDay(self):
2061 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected