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

Method testDailyBySecond

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

Source from the content-addressed store, hash-verified

1306 datetime(1997, 9, 3, 9, 6)])
1307
1308 def testDailyBySecond(self):
1309 self.assertEqual(list(rrule(DAILY,
1310 count=3,
1311 bysecond=(6, 18),
1312 dtstart=datetime(1997, 9, 2, 9, 0))),
1313 [datetime(1997, 9, 2, 9, 0, 6),
1314 datetime(1997, 9, 2, 9, 0, 18),
1315 datetime(1997, 9, 3, 9, 0, 6)])
1316
1317 def testDailyByHourAndMinute(self):
1318 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected