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

Method testWeeklyByHourAndSecond

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

Source from the content-addressed store, hash-verified

1011 datetime(1997, 9, 9, 6, 6)])
1012
1013 def testWeeklyByHourAndSecond(self):
1014 self.assertEqual(list(rrule(WEEKLY,
1015 count=3,
1016 byhour=(6, 18),
1017 bysecond=(6, 18),
1018 dtstart=datetime(1997, 9, 2, 9, 0))),
1019 [datetime(1997, 9, 2, 18, 0, 6),
1020 datetime(1997, 9, 2, 18, 0, 18),
1021 datetime(1997, 9, 9, 6, 0, 6)])
1022
1023 def testWeeklyByMinuteAndSecond(self):
1024 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected