"""test_read_user_yes_no."""
# import click
#
# from tackle.parser.prompts import read_user_yes_no
#
# QUESTION = 'Is it okay to delete and re-clone it?'
# DEFAULT = 'y'
#
#
# def test_click_invocation(mocker):
#     """Test click function called correctly by cookiecutter.
#
#     Test for boolean type invocation.
#     """
#     prompt = mocker.patch('click.prompt')
#     prompt.return_value = DEFAULT
#
#     assert read_user_yes_no(QUESTION, DEFAULT) == DEFAULT
#
#     click.prompt.assert_called_once_with(QUESTION, default=DEFAULT, type=click.BOOL)
