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

Method testYearlyBySecond

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

Source from the content-addressed store, hash-verified

333 datetime(1998, 9, 2, 9, 6)])
334
335 def testYearlyBySecond(self):
336 self.assertEqual(list(rrule(YEARLY,
337 count=3,
338 bysecond=(6, 18),
339 dtstart=datetime(1997, 9, 2, 9, 0))),
340 [datetime(1997, 9, 2, 9, 0, 6),
341 datetime(1997, 9, 2, 9, 0, 18),
342 datetime(1998, 9, 2, 9, 0, 6)])
343
344 def testYearlyByHourAndMinute(self):
345 self.assertEqual(list(rrule(YEARLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected