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

Method testDailyByHourAndSecond

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

Source from the content-addressed store, hash-verified

1325 datetime(1997, 9, 3, 6, 6)])
1326
1327 def testDailyByHourAndSecond(self):
1328 self.assertEqual(list(rrule(DAILY,
1329 count=3,
1330 byhour=(6, 18),
1331 bysecond=(6, 18),
1332 dtstart=datetime(1997, 9, 2, 9, 0))),
1333 [datetime(1997, 9, 2, 18, 0, 6),
1334 datetime(1997, 9, 2, 18, 0, 18),
1335 datetime(1997, 9, 3, 6, 0, 6)])
1336
1337 def testDailyByMinuteAndSecond(self):
1338 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected