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

Method testWeeklyByWeekNo

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

Source from the content-addressed store, hash-verified

894 datetime(1999, 7, 19, 9, 0)])
895
896 def testWeeklyByWeekNo(self):
897 self.assertEqual(list(rrule(WEEKLY,
898 count=3,
899 byweekno=20,
900 dtstart=datetime(1997, 9, 2, 9, 0))),
901 [datetime(1998, 5, 11, 9, 0),
902 datetime(1998, 5, 12, 9, 0),
903 datetime(1998, 5, 13, 9, 0)])
904
905 def testWeeklyByWeekNoAndWeekDay(self):
906 # That's a nice one. The first days of week number one

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected