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

Method testHourlyByNWeekDay

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

Source from the content-addressed store, hash-verified

1430 datetime(1997, 9, 2, 11, 0)])
1431
1432 def testHourlyByNWeekDay(self):
1433 self.assertEqual(list(rrule(HOURLY,
1434 count=3,
1435 byweekday=(TU(1), TH(-1)),
1436 dtstart=datetime(1997, 9, 2, 9, 0))),
1437 [datetime(1997, 9, 2, 9, 0),
1438 datetime(1997, 9, 2, 10, 0),
1439 datetime(1997, 9, 2, 11, 0)])
1440
1441 def testHourlyByMonthAndWeekDay(self):
1442 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected