def METHOD_NAME():
    """
    Test upgrade_available when an update is available.
    """
    ret = MagicMock(return_value="5.4.2p0")
    with patch("salt.modules.openbsdpkg.latest_version", ret):
        assert openbsdpkg.upgrade_available("zsh")