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

Method testStrSetExDate

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

Source from the content-addressed store, hash-verified

2841 datetime(1997, 9, 16, 9, 0)])
2842
2843 def testStrSetExDate(self):
2844 self.assertEqual(list(rrulestr(
2845 "DTSTART:19970902T090000\n"
2846 "RRULE:FREQ=YEARLY;COUNT=6;BYDAY=TU,TH\n"
2847 "EXDATE:19970904T090000\n"
2848 "EXDATE:19970911T090000\n"
2849 "EXDATE:19970918T090000\n"
2850 )),
2851 [datetime(1997, 9, 2, 9, 0),
2852 datetime(1997, 9, 9, 9, 0),
2853 datetime(1997, 9, 16, 9, 0)])
2854
2855 def testStrSetExDateMultiple(self):
2856 rrstr = ("DTSTART:19970902T090000\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected