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

Method testWeeklyBySetPos

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

Source from the content-addressed store, hash-verified

1029 datetime(1997, 9, 2, 18, 18, 6)])
1030
1031 def testWeeklyBySetPos(self):
1032 self.assertEqual(list(rrule(WEEKLY,
1033 count=3,
1034 byweekday=(TU, TH),
1035 byhour=(6, 18),
1036 bysetpos=(3, -3),
1037 dtstart=datetime(1997, 9, 2, 9, 0))),
1038 [datetime(1997, 9, 2, 18, 0),
1039 datetime(1997, 9, 4, 6, 0),
1040 datetime(1997, 9, 9, 18, 0)])
1041
1042 def testDaily(self):
1043 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected