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

Method testSecondlyByHourAndSecond

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

Source from the content-addressed store, hash-verified

2241 datetime(1997, 9, 2, 18, 6, 2)])
2242
2243 def testSecondlyByHourAndSecond(self):
2244 self.assertEqual(list(rrule(SECONDLY,
2245 count=3,
2246 byhour=(6, 18),
2247 bysecond=(6, 18),
2248 dtstart=datetime(1997, 9, 2, 9, 0))),
2249 [datetime(1997, 9, 2, 18, 0, 6),
2250 datetime(1997, 9, 2, 18, 0, 18),
2251 datetime(1997, 9, 2, 18, 1, 6)])
2252
2253 def testSecondlyByMinuteAndSecond(self):
2254 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected