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

Method testUntilWithDate

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

Source from the content-addressed store, hash-verified

2394 [])
2395
2396 def testUntilWithDate(self):
2397 self.assertEqual(list(rrule(DAILY,
2398 dtstart=datetime(1997, 9, 2, 9, 0),
2399 until=date(1997, 9, 5))),
2400 [datetime(1997, 9, 2, 9, 0),
2401 datetime(1997, 9, 3, 9, 0),
2402 datetime(1997, 9, 4, 9, 0)])
2403
2404 def testWkStIntervalMO(self):
2405 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected