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

Method testSecondlyBySecond

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

Source from the content-addressed store, hash-verified

2222 datetime(1997, 9, 2, 9, 6, 2)])
2223
2224 def testSecondlyBySecond(self):
2225 self.assertEqual(list(rrule(SECONDLY,
2226 count=3,
2227 bysecond=(6, 18),
2228 dtstart=datetime(1997, 9, 2, 9, 0))),
2229 [datetime(1997, 9, 2, 9, 0, 6),
2230 datetime(1997, 9, 2, 9, 0, 18),
2231 datetime(1997, 9, 2, 9, 1, 6)])
2232
2233 def testSecondlyByHourAndMinute(self):
2234 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected