Tests/scripts/hook_validations/incident_field.py
def is_valid_content_flag(self):
        """Validate that field is marked as content."""
        is_valid_flag = self.current_incident_field.get('content') is True
        if not is_valid_flag:
            print_error("The content key must be set to true, please update the file '{}'".format(self.file_path))

        return is_valid_flag
Validate that field is marked as content.
Validate that field is marked as content.
Validate that field is marked as content .
def is_valid_content_flag(self):
        is_valid_flag = self.current_incident_field.get('content') is True
        if not is_valid_flag:
            print_error("The content key must be set to true, please update the file '{}'".format(self.file_path))
        return is_valid_flag
def is_valid_content_flag ( self ) : is_valid_flag = self . current_incident_field . get ( 'content' ) is True if not is_valid_flag : print_error ( "The content key must be set to true, please update the file '{}'" . format ( self . file_path ) ) return is_valid_flag
Validate that field is marked as content.
Validate that field is marked as content .
"""Validate that field is marked as content."""
self