def METHOD_NAME(mock_tools, host_os):
    """When host OS is not supported, an error is raised."""
    mock_tools.host_os = host_os
    with pytest.raises(
        UnsupportedHostError,
        match=f"{Flatpak.name} is not supported on {host_os}",
    ):
        Flatpak.verify(mock_tools)