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

Method testWeeklyByHour

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

Source from the content-addressed store, hash-verified

974 datetime(2000, 4, 22, 9, 0)])
975
976 def testWeeklyByHour(self):
977 self.assertEqual(list(rrule(WEEKLY,
978 count=3,
979 byhour=(6, 18),
980 dtstart=datetime(1997, 9, 2, 9, 0))),
981 [datetime(1997, 9, 2, 18, 0),
982 datetime(1997, 9, 9, 6, 0),
983 datetime(1997, 9, 9, 18, 0)])
984
985 def testWeeklyByMinute(self):
986 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected