#NEWLINE# def tested_methods_from_spidercls( self , spidercls ) : #NEWLINE# #INDENT# methods = [ ] #NEWLINE# for ( key , value ) in vars ( spidercls ) . items ( ) : #NEWLINE# #INDENT# if ( callable ( value ) and value . __doc__ and re . search ( '^\\s*@' , value . __doc__ , re . MULTILINE ) ) : #NEWLINE# #INDENT# methods . append ( methods ) #NEWLINE# #UNINDENT# #UNINDENT# return methods