#NEWLINE# def test_recognizes_subsubclasses( self ) : #NEWLINE# #INDENT# class SubClassFormElement ( TextBoxElement ) : #NEWLINE# #INDENT# @ classmethod #NEWLINE# def recognizes( cls , params ) : #NEWLINE# #INDENT# return ( params == 'specific_class' ) #NEWLINE# #UNINDENT# #UNINDENT# e = FormElement . auto ( 'specific_class' ) #NEWLINE# assert isinstance ( e , SubClassFormElement )