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

Method testSecondlyByMinute

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

Source from the content-addressed store, hash-verified

2226 datetime(1997, 9, 2, 18, 0, 2)])
2227
2228 def testSecondlyByMinute(self):
2229 self.assertEqual(list(rrule(SECONDLY,
2230 count=3,
2231 byminute=(6, 18),
2232 dtstart=datetime(1997, 9, 2, 9, 0))),
2233 [datetime(1997, 9, 2, 9, 6, 0),
2234 datetime(1997, 9, 2, 9, 6, 1),
2235 datetime(1997, 9, 2, 9, 6, 2)])
2236
2237 def testSecondlyBySecond(self):
2238 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected