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

Method testCachePostContains

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

Source from the content-addressed store, hash-verified

2650 self.assertEqual(datetime(1997, 9, 3, 9, 0) in rr, True)
2651
2652 def testCachePostContains(self):
2653 rr = rrule(DAILY, count=3, cache=True,
2654 dtstart=datetime(1997, 9, 2, 9, 0))
2655 for x in rr: pass
2656 self.assertEqual(datetime(1997, 9, 3, 9, 0) in rr, True)
2657
2658 def testStr(self):
2659 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected