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

Method testSecondlyByHour

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

Source from the content-addressed store, hash-verified

2217 datetime(1998, 4, 11, 0, 0, 2)])
2218
2219 def testSecondlyByHour(self):
2220 self.assertEqual(list(rrule(SECONDLY,
2221 count=3,
2222 byhour=(6, 18),
2223 dtstart=datetime(1997, 9, 2, 9, 0))),
2224 [datetime(1997, 9, 2, 18, 0, 0),
2225 datetime(1997, 9, 2, 18, 0, 1),
2226 datetime(1997, 9, 2, 18, 0, 2)])
2227
2228 def testSecondlyByMinute(self):
2229 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected