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

Method testSecondlyByWeekDay

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

Source from the content-addressed store, hash-verified

2040 datetime(1998, 1, 5, 0, 0, 2)])
2041
2042 def testSecondlyByWeekDay(self):
2043 self.assertEqual(list(rrule(SECONDLY,
2044 count=3,
2045 byweekday=(TU, TH),
2046 dtstart=datetime(1997, 9, 2, 9, 0))),
2047 [datetime(1997, 9, 2, 9, 0, 0),
2048 datetime(1997, 9, 2, 9, 0, 1),
2049 datetime(1997, 9, 2, 9, 0, 2)])
2050
2051 def testSecondlyByNWeekDay(self):
2052 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected