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

Method testStrSetExDateValueMixDateTimeNoTZID

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

Source from the content-addressed store, hash-verified

2894 assert list(rr) == [datetime(1997, 9, 4, 9), datetime(1997, 9, 11, 9)]
2895
2896 def testStrSetExDateValueMixDateTimeNoTZID(self):
2897 rrstr = '\n'.join([
2898 "DTSTART:19970902T090000",
2899 "RRULE:FREQ=YEARLY;COUNT=4;BYDAY=TU,TH",
2900 "EXDATE;VALUE=DATE-TIME:19970902T090000",
2901 "EXDATE:19970909T090000",
2902 ])
2903
2904 rr = rrulestr(rrstr)
2905 assert list(rr) == [datetime(1997, 9, 4, 9), datetime(1997, 9, 11, 9)]
2906
2907 def testStrSetExDateValueDateTimeWithTZID(self):
2908 BXL = tz.gettz('Europe/Brussels')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected