@pytest.fixture
def create_pool():
    with patch('aiocache.backends.redis.aioredis.create_pool') as create_pool:
        (yield create_pool)
@pytest.fixture
def create_pool():
    with patch('aiocache.backends.redis.aioredis.create_pool') as create_pool:
        (yield create_pool)