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

Method testWeekly

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

Source from the content-addressed store, hash-verified

736 datetime(1997, 10, 13, 18, 0)])
737
738 def testWeekly(self):
739 self.assertEqual(list(rrule(WEEKLY,
740 count=3,
741 dtstart=datetime(1997, 9, 2, 9, 0))),
742 [datetime(1997, 9, 2, 9, 0),
743 datetime(1997, 9, 9, 9, 0),
744 datetime(1997, 9, 16, 9, 0)])
745
746 def testWeeklyInterval(self):
747 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected