def METHOD_NAME(self):
    return {
        kernelpkg: {
            "__grains__": {"kernelrelease": self.KERNEL_LIST[0]},
            "__salt__": {
                "pkg.install": MagicMock(return_value={}),
                "pkg.latest_version": MagicMock(return_value=self.LATEST),
                "pkg.list_pkgs": MagicMock(return_value=self.PACKAGE_DICT),
                "pkg.purge": MagicMock(return_value=None),
                "system.reboot": MagicMock(return_value=None),
            },
        }
    }