def METHOD_NAME(mocker, tmp_path):
    """Prompt should not ask if no input and rm file.
    In `prompt_and_delete()`, if `no_input` is True, the call to
    `prompt.read_user_yes_no()` should be suppressed.
    """
    mock_read_user = mocker.patch(
        'tackle.utils.prompts.read_user_yes_no',
        return_value=True,
        autospec=True,
    )
    repo_file = tmp_path.joinpath('repo.zip')
    repo_file.write_text('this is zipfile content')
    deleted = tackle.utils.prompts.prompt_and_delete(str(repo_file), no_input=True)
    assert not mock_read_user.called
    assert not repo_file.exists()
    assert deleted