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

Method testMinutelyBySetPos

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

Source from the content-addressed store, hash-verified

1976 datetime(1997, 9, 2, 18, 18, 6)])
1977
1978 def testMinutelyBySetPos(self):
1979 self.assertEqual(list(rrule(MINUTELY,
1980 count=3,
1981 bysecond=(15, 30, 45),
1982 bysetpos=(3, -3),
1983 dtstart=datetime(1997, 9, 2, 9, 0))),
1984 [datetime(1997, 9, 2, 9, 0, 15),
1985 datetime(1997, 9, 2, 9, 0, 45),
1986 datetime(1997, 9, 2, 9, 1, 15)])
1987
1988 def testSecondly(self):
1989 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected