def test_yesno_prompt_process_response() -> None:
    """Test `YesNoPrompt` process_response to convert str to bool."""
    ynp = YesNoPrompt()
    with pytest.raises(InvalidResponse):
        ynp.process_response('wrong')
    assert ynp.process_response('t') is True
    assert ynp.process_response('f') is False
Test `YesNoPrompt` process_response to convert str to bool.
tests/test_read_user_yes_no.py