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

Method testSecondlyInterval

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

Source from the content-addressed store, hash-verified

1981 datetime(1997, 9, 2, 9, 0, 2)])
1982
1983 def testSecondlyInterval(self):
1984 self.assertEqual(list(rrule(SECONDLY,
1985 count=3,
1986 interval=2,
1987 dtstart=datetime(1997, 9, 2, 9, 0))),
1988 [datetime(1997, 9, 2, 9, 0, 0),
1989 datetime(1997, 9, 2, 9, 0, 2),
1990 datetime(1997, 9, 2, 9, 0, 4)])
1991
1992 def testSecondlyIntervalLarge(self):
1993 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected