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

Method testStrSetDate

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

Source from the content-addressed store, hash-verified

2827 datetime(1997, 9, 9, 9, 0)])
2828
2829 def testStrSetDate(self):
2830 self.assertEqual(list(rrulestr(
2831 "DTSTART:19970902T090000\n"
2832 "RRULE:FREQ=YEARLY;COUNT=1;BYDAY=TU\n"
2833 "RDATE:19970904T090000\n"
2834 "RDATE:19970909T090000\n"
2835 )),
2836 [datetime(1997, 9, 2, 9, 0),
2837 datetime(1997, 9, 4, 9, 0),
2838 datetime(1997, 9, 9, 9, 0)])
2839
2840 def testStrSetExRule(self):
2841 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected