Пример #1
0
    def checkFormStrict(self, formTemplate, formName=None):
        """
            Method to check that the visible element in the template
            Are all displayed and that they are the only ones displayed

            NOTE this is an *experimental method* it tries to check that the template
            matches what is displayed. It is not guaranteed to manage all possible form elements.

            If you have a element that you would like to be added to this method raise a ticket on Trac
        """

        self.startCoverage("checkFormStrict")
        error = []
        f = Form(self)
        error = f.checkFormStrict(formTemplate, formName)
        self.endCoverage()
        return error