Tests/scripts/hook_validations/image.py
def is_not_default_image(self):
        """Check if the image is the default one"""
        image = self.load_image()

        if image == DEFAULT_IMAGE_BASE64:  # disable-secrets-detection
            print_error("{} is the default image, please change to the "
                        "integration image.".format(self.file_path))
            self._is_valid = False
            return False

        else:
            return True
Check if the image is the default one
Check if the image is the default one
Check if the image is the default one
def is_not_default_image(self):
        image = self.load_image()
        if image == DEFAULT_IMAGE_BASE64:  
            print_error("{} is the default image, please change to the "
                        "integration image.".format(self.file_path))
            self._is_valid = False
            return False
        else:
            return True
def is_not_default_image ( self ) : image = self . load_image ( ) if image == DEFAULT_IMAGE_BASE64 : print_error ( "{} is the default image, please change to the " "integration image." . format ( self . file_path ) ) self . _is_valid = False return False else : return True
Check if the image is the default one
Check if the image is the default one
"""Check if the image is the default one""" # disable-secrets-detection
self