#NEWLINE# def test_def_insp( self ) : #NEWLINE# #INDENT# class SomeFoo ( TestFixture ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# @ inspection . _inspects ( SomeFoo ) #NEWLINE# def insp_somefoo( subject ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# 'insp' : subject , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# somefoo = SomeFoo ( ) #NEWLINE# insp = inspect ( somefoo ) #NEWLINE# assert ( self [ 'insp' ] is somefoo )