def METHOD_NAME(name: str, value: str, runner: CliRunner):
    runner.invoke(cli.app, ['set', name, value], catch_exceptions=False)
    res = runner.invoke(cli.app, 'list', catch_exceptions=False)
    assert res.exit_code == 0
    if '/' not in name:
        name = f'global/{name}'
    assert res.stdout.strip() == f'{name}={value}'
    res = runner.invoke(cli.app, ['get', name], catch_exceptions=False)
    assert res.exit_code == 0
    assert res.stdout.strip() == value
    res = runner.invoke(cli.app, ['unset', name], catch_exceptions=False)
    assert res.exit_code == 0
    res = runner.invoke(cli.app, 'list', catch_exceptions=False)
    assert res.exit_code == 0
    assert res.stdout.strip() == ''