def METHOD_NAME(mocker, tmp_path):
    """In `prompt_and_delete()`, if the user wants to keep their old \
    cloned template repo, it should not be deleted."""
    mock_read_user = mocker.patch(
        'tackle.utils.prompts.read_user_yes_no',
        return_value=False,
        autospec=True,
    )
    repo_dir = Path(tmp_path, 'repo')
    repo_dir.mkdir()
    with pytest.raises(SystemExit):
        tackle.utils.prompts.prompt_and_delete(str(repo_dir))
    assert mock_read_user.called
    assert repo_dir.exists()