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

Method testStrSetExDate

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

Source from the content-addressed store, hash-verified

2848 datetime(1997, 9, 16, 9, 0)])
2849
2850 def testStrSetExDate(self):
2851 self.assertEqual(list(rrulestr(
2852 "DTSTART:19970902T090000\n"
2853 "RRULE:FREQ=YEARLY;COUNT=6;BYDAY=TU,TH\n"
2854 "EXDATE:19970904T090000\n"
2855 "EXDATE:19970911T090000\n"
2856 "EXDATE:19970918T090000\n"
2857 )),
2858 [datetime(1997, 9, 2, 9, 0),
2859 datetime(1997, 9, 9, 9, 0),
2860 datetime(1997, 9, 16, 9, 0)])
2861
2862 def testStrSetExDateMultiple(self):
2863 rrstr = ("DTSTART:19970902T090000\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected