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

Method testSecondlyByEasterPos

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

Source from the content-addressed store, hash-verified

2186 datetime(1998, 4, 12, 0, 0, 2)])
2187
2188 def testSecondlyByEasterPos(self):
2189 self.assertEqual(list(rrule(SECONDLY,
2190 count=3,
2191 byeaster=1,
2192 dtstart=datetime(1997, 9, 2, 9, 0))),
2193 [datetime(1998, 4, 13, 0, 0, 0),
2194 datetime(1998, 4, 13, 0, 0, 1),
2195 datetime(1998, 4, 13, 0, 0, 2)])
2196
2197 def testSecondlyByEasterNeg(self):
2198 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected