def rockylinux9(function):
    """Decorator to set the Linux distribution to Rockylinux 9"""
    def wrapper(*args, **kwargs):
        hpccm.config.g_linux_distro = linux_distro.CENTOS
        hpccm.config.g_linux_version = Version('9.0')
        return function(*args, **kwargs)

    return wrapper
Decorator to set the Linux distribution to Rockylinux 9
test/helpers.py