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

Method testDaily

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

Source from the content-addressed store, hash-verified

1040 datetime(1997, 9, 9, 18, 0)])
1041
1042 def testDaily(self):
1043 self.assertEqual(list(rrule(DAILY,
1044 count=3,
1045 dtstart=datetime(1997, 9, 2, 9, 0))),
1046 [datetime(1997, 9, 2, 9, 0),
1047 datetime(1997, 9, 3, 9, 0),
1048 datetime(1997, 9, 4, 9, 0)])
1049
1050 def testDailyInterval(self):
1051 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected