def METHOD_NAME():
    ctx = Namespace()
    ctx.cache_dir = tempfile.mkdtemp(prefix='s3ql-cache-')
    ctx.backend_dir = tempfile.mkdtemp(prefix='s3ql-backend-')
    ctx.storage_url = 'local://' + ctx.backend_dir
    yield ctx
    shutil.rmtree(ctx.cache_dir)
    shutil.rmtree(ctx.backend_dir)