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

Method testHourlyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

1426 datetime(1997, 9, 2, 11, 0)])
1427
1428 def testHourlyByMonthAndWeekDay(self):
1429 self.assertEqual(list(rrule(HOURLY,
1430 count=3,
1431 bymonth=(1, 3),
1432 byweekday=(TU, TH),
1433 dtstart=datetime(1997, 9, 2, 9, 0))),
1434 [datetime(1998, 1, 1, 0, 0),
1435 datetime(1998, 1, 1, 1, 0),
1436 datetime(1998, 1, 1, 2, 0)])
1437
1438 def testHourlyByMonthAndNWeekDay(self):
1439 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected