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

Method testHourlyByNWeekDay

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

Source from the content-addressed store, hash-verified

1417 datetime(1997, 9, 2, 11, 0)])
1418
1419 def testHourlyByNWeekDay(self):
1420 self.assertEqual(list(rrule(HOURLY,
1421 count=3,
1422 byweekday=(TU(1), TH(-1)),
1423 dtstart=datetime(1997, 9, 2, 9, 0))),
1424 [datetime(1997, 9, 2, 9, 0),
1425 datetime(1997, 9, 2, 10, 0),
1426 datetime(1997, 9, 2, 11, 0)])
1427
1428 def testHourlyByMonthAndWeekDay(self):
1429 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected