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

Method testDailyBySetPos

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

Source from the content-addressed store, hash-verified

1356 datetime(1997, 9, 2, 18, 18, 6)])
1357
1358 def testDailyBySetPos(self):
1359 self.assertEqual(list(rrule(DAILY,
1360 count=3,
1361 byhour=(6, 18),
1362 byminute=(15, 45),
1363 bysetpos=(3, -3),
1364 dtstart=datetime(1997, 9, 2, 9, 0))),
1365 [datetime(1997, 9, 2, 18, 15),
1366 datetime(1997, 9, 3, 6, 45),
1367 datetime(1997, 9, 3, 18, 15)])
1368
1369 def testHourly(self):
1370 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected