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

Method testDailyByHourAndSecond

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

Source from the content-addressed store, hash-verified

1312 datetime(1997, 9, 3, 6, 6)])
1313
1314 def testDailyByHourAndSecond(self):
1315 self.assertEqual(list(rrule(DAILY,
1316 count=3,
1317 byhour=(6, 18),
1318 bysecond=(6, 18),
1319 dtstart=datetime(1997, 9, 2, 9, 0))),
1320 [datetime(1997, 9, 2, 18, 0, 6),
1321 datetime(1997, 9, 2, 18, 0, 18),
1322 datetime(1997, 9, 3, 6, 0, 6)])
1323
1324 def testDailyByMinuteAndSecond(self):
1325 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected