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

Method testDailyBySetPos

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

Source from the content-addressed store, hash-verified

1343 datetime(1997, 9, 2, 18, 18, 6)])
1344
1345 def testDailyBySetPos(self):
1346 self.assertEqual(list(rrule(DAILY,
1347 count=3,
1348 byhour=(6, 18),
1349 byminute=(15, 45),
1350 bysetpos=(3, -3),
1351 dtstart=datetime(1997, 9, 2, 9, 0))),
1352 [datetime(1997, 9, 2, 18, 15),
1353 datetime(1997, 9, 3, 6, 45),
1354 datetime(1997, 9, 3, 18, 15)])
1355
1356 def testHourly(self):
1357 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected