def test_read_user_dict_default_value(value) -> None:
    """Make sure that `read_user_dict` returns the default value.

    Verify return of a dict variable rather than the display value.
    """
    runner = click.testing.CliRunner()
    with runner.isolation(input=value):
        val = read_user_dict('name', {'project_slug': 'pytest-plugin'})

    assert val == {'project_slug': 'pytest-plugin'}
Make sure that `read_user_dict` returns the default value.

    Verify return of a dict variable rather than the display value.
    
tests/test_read_user_dict.py