@pytest.mark.asyncio
async def test_increment_typerror(self, redis, redis_connection):
    redis_connection.incrby.side_effect = aioredis.errors.ReplyError('msg')
    with pytest.raises(TypeError):
        (await redis._increment(Keys.KEY, 2))
@pytest.mark.asyncio
async def test_increment_typerror(self, redis, redis_connection):
    redis_connection.incrby.side_effect = aioredis.errors.ReplyError('msg')
    with pytest.raises(TypeError):
        (await redis._increment(Keys.KEY, 2))