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

Method testStrSet

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

Source from the content-addressed store, hash-verified

2817 datetime(1999, 9, 2, 9, 0)])
2818
2819 def testStrSet(self):
2820 self.assertEqual(list(rrulestr(
2821 "DTSTART:19970902T090000\n"
2822 "RRULE:FREQ=YEARLY;COUNT=2;BYDAY=TU\n"
2823 "RRULE:FREQ=YEARLY;COUNT=1;BYDAY=TH\n"
2824 )),
2825 [datetime(1997, 9, 2, 9, 0),
2826 datetime(1997, 9, 4, 9, 0),
2827 datetime(1997, 9, 9, 9, 0)])
2828
2829 def testStrSetDate(self):
2830 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected