#NEWLINE# def test_pass_values( self ) : #NEWLINE# #INDENT# class IntForm ( forms . Form ) : #NEWLINE# #INDENT# num = forms . IntegerField ( max_value = 10 ) #NEWLINE# other = forms . IntegerField ( ) #NEWLINE# third = forms . IntegerField ( min_value = 10 , max_value = 150 ) #NEWLINE# #UNINDENT# rendered = IntForm ( ) . as_p ( ) #NEWLINE# self . assertHTMLEqual ( self , '\n        <p>\n            <label for="id_num">Num:</label>\n            <input type="number" name="num" id="id_num" max="10" required>\n        </p>\n        <p>\n            <label for="id_other">Other:</label>\n            <input type="number" name="other" id="id_other" required>\n        </p>\n        <p>\n            <label for="id_third">Third:</label>\n            <input type="number" name="third" id="id_third" min="10" max="150" required>\n        </p>' )