Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/a/cachecontrol-HEAD/tests/test_storage_redis.py   cachecontrol(Download)
from datetime import datetime
 
from mock import Mock
from cachecontrol.caches import RedisCache
 
    def setup(self):
        self.conn = Mock()
        self.cache = RedisCache(self.conn)
 
    def test_set_expiration(self):