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

Method testSecondlyInterval

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

Source from the content-addressed store, hash-verified

1994 datetime(1997, 9, 2, 9, 0, 2)])
1995
1996 def testSecondlyInterval(self):
1997 self.assertEqual(list(rrule(SECONDLY,
1998 count=3,
1999 interval=2,
2000 dtstart=datetime(1997, 9, 2, 9, 0))),
2001 [datetime(1997, 9, 2, 9, 0, 0),
2002 datetime(1997, 9, 2, 9, 0, 2),
2003 datetime(1997, 9, 2, 9, 0, 4)])
2004
2005 def testSecondlyIntervalLarge(self):
2006 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected