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

Method testWeeklyBySecond

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

Source from the content-addressed store, hash-verified

992 datetime(1997, 9, 9, 9, 6)])
993
994 def testWeeklyBySecond(self):
995 self.assertEqual(list(rrule(WEEKLY,
996 count=3,
997 bysecond=(6, 18),
998 dtstart=datetime(1997, 9, 2, 9, 0))),
999 [datetime(1997, 9, 2, 9, 0, 6),
1000 datetime(1997, 9, 2, 9, 0, 18),
1001 datetime(1997, 9, 9, 9, 0, 6)])
1002
1003 def testWeeklyByHourAndMinute(self):
1004 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected