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

Method testHourlyBySetPos

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

Source from the content-addressed store, hash-verified

1666 datetime(1997, 9, 2, 18, 18, 6)])
1667
1668 def testHourlyBySetPos(self):
1669 self.assertEqual(list(rrule(HOURLY,
1670 count=3,
1671 byminute=(15, 45),
1672 bysecond=(15, 45),
1673 bysetpos=(3, -3),
1674 dtstart=datetime(1997, 9, 2, 9, 0))),
1675 [datetime(1997, 9, 2, 9, 15, 45),
1676 datetime(1997, 9, 2, 9, 45, 15),
1677 datetime(1997, 9, 2, 10, 15, 45)])
1678
1679 def testMinutely(self):
1680 self.assertEqual(list(rrule(MINUTELY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected