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

Method testSecondlyBySecond

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

Source from the content-addressed store, hash-verified

2235 datetime(1997, 9, 2, 9, 6, 2)])
2236
2237 def testSecondlyBySecond(self):
2238 self.assertEqual(list(rrule(SECONDLY,
2239 count=3,
2240 bysecond=(6, 18),
2241 dtstart=datetime(1997, 9, 2, 9, 0))),
2242 [datetime(1997, 9, 2, 9, 0, 6),
2243 datetime(1997, 9, 2, 9, 0, 18),
2244 datetime(1997, 9, 2, 9, 1, 6)])
2245
2246 def testSecondlyByHourAndMinute(self):
2247 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected