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

Method testStrSetExRule

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

Source from the content-addressed store, hash-verified

2831 datetime(1997, 9, 9, 9, 0)])
2832
2833 def testStrSetExRule(self):
2834 self.assertEqual(list(rrulestr(
2835 "DTSTART:19970902T090000\n"
2836 "RRULE:FREQ=YEARLY;COUNT=6;BYDAY=TU,TH\n"
2837 "EXRULE:FREQ=YEARLY;COUNT=3;BYDAY=TH\n"
2838 )),
2839 [datetime(1997, 9, 2, 9, 0),
2840 datetime(1997, 9, 9, 9, 0),
2841 datetime(1997, 9, 16, 9, 0)])
2842
2843 def testStrSetExDate(self):
2844 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected