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

Method testSecondlyByHourAndSecond

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

Source from the content-addressed store, hash-verified

2254 datetime(1997, 9, 2, 18, 6, 2)])
2255
2256 def testSecondlyByHourAndSecond(self):
2257 self.assertEqual(list(rrule(SECONDLY,
2258 count=3,
2259 byhour=(6, 18),
2260 bysecond=(6, 18),
2261 dtstart=datetime(1997, 9, 2, 9, 0))),
2262 [datetime(1997, 9, 2, 18, 0, 6),
2263 datetime(1997, 9, 2, 18, 0, 18),
2264 datetime(1997, 9, 2, 18, 1, 6)])
2265
2266 def testSecondlyByMinuteAndSecond(self):
2267 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected