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

Method testStrSet

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

Source from the content-addressed store, hash-verified

2810 datetime(1999, 9, 2, 9, 0)])
2811
2812 def testStrSet(self):
2813 self.assertEqual(list(rrulestr(
2814 "DTSTART:19970902T090000\n"
2815 "RRULE:FREQ=YEARLY;COUNT=2;BYDAY=TU\n"
2816 "RRULE:FREQ=YEARLY;COUNT=1;BYDAY=TH\n"
2817 )),
2818 [datetime(1997, 9, 2, 9, 0),
2819 datetime(1997, 9, 4, 9, 0),
2820 datetime(1997, 9, 9, 9, 0)])
2821
2822 def testStrSetDate(self):
2823 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected