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

Method testWeeklyByHourAndMinuteAndSecond

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

Source from the content-addressed store, hash-verified

1031 datetime(1997, 9, 2, 9, 18, 6)])
1032
1033 def testWeeklyByHourAndMinuteAndSecond(self):
1034 self.assertEqual(list(rrule(WEEKLY,
1035 count=3,
1036 byhour=(6, 18),
1037 byminute=(6, 18),
1038 bysecond=(6, 18),
1039 dtstart=datetime(1997, 9, 2, 9, 0))),
1040 [datetime(1997, 9, 2, 18, 6, 6),
1041 datetime(1997, 9, 2, 18, 6, 18),
1042 datetime(1997, 9, 2, 18, 18, 6)])
1043
1044 def testWeeklyBySetPos(self):
1045 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected