def test_click_invocation(mock_prompt) -> None:
    """Test click function called correctly by cookiecutter.

    Test for string type invocation.
    """
    mock_prompt.return_value = DEFAULT

    assert read_user_variable(VARIABLE, DEFAULT) == DEFAULT

    mock_prompt.assert_called_once_with(VARIABLE, default=DEFAULT)
Test click function called correctly by cookiecutter.

    Test for string type invocation.
    
tests/test_read_user_variable.py