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

Method testDailyByNWeekDay

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

Source from the content-addressed store, hash-verified

1116 datetime(1997, 9, 9, 9, 0)])
1117
1118 def testDailyByNWeekDay(self):
1119 self.assertEqual(list(rrule(DAILY,
1120 count=3,
1121 byweekday=(TU(1), TH(-1)),
1122 dtstart=datetime(1997, 9, 2, 9, 0))),
1123 [datetime(1997, 9, 2, 9, 0),
1124 datetime(1997, 9, 4, 9, 0),
1125 datetime(1997, 9, 9, 9, 0)])
1126
1127 def testDailyByMonthAndWeekDay(self):
1128 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected