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

Method testSecondly

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

Source from the content-addressed store, hash-verified

1986 datetime(1997, 9, 2, 9, 1, 15)])
1987
1988 def testSecondly(self):
1989 self.assertEqual(list(rrule(SECONDLY,
1990 count=3,
1991 dtstart=datetime(1997, 9, 2, 9, 0))),
1992 [datetime(1997, 9, 2, 9, 0, 0),
1993 datetime(1997, 9, 2, 9, 0, 1),
1994 datetime(1997, 9, 2, 9, 0, 2)])
1995
1996 def testSecondlyInterval(self):
1997 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected