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

Method testDailyByNWeekDay

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

Source from the content-addressed store, hash-verified

1103 datetime(1997, 9, 9, 9, 0)])
1104
1105 def testDailyByNWeekDay(self):
1106 self.assertEqual(list(rrule(DAILY,
1107 count=3,
1108 byweekday=(TU(1), TH(-1)),
1109 dtstart=datetime(1997, 9, 2, 9, 0))),
1110 [datetime(1997, 9, 2, 9, 0),
1111 datetime(1997, 9, 4, 9, 0),
1112 datetime(1997, 9, 9, 9, 0)])
1113
1114 def testDailyByMonthAndWeekDay(self):
1115 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected