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

Method testWeeklyInterval

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

Source from the content-addressed store, hash-verified

744 datetime(1997, 9, 16, 9, 0)])
745
746 def testWeeklyInterval(self):
747 self.assertEqual(list(rrule(WEEKLY,
748 count=3,
749 interval=2,
750 dtstart=datetime(1997, 9, 2, 9, 0))),
751 [datetime(1997, 9, 2, 9, 0),
752 datetime(1997, 9, 16, 9, 0),
753 datetime(1997, 9, 30, 9, 0)])
754
755 def testWeeklyIntervalLarge(self):
756 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected