#NEWLINE# @ unittest . skip ( 'recursive decoration not yet implemented' ) #NEWLINE# def test_injected( self ) : #NEWLINE# #INDENT# with test . capture : #NEWLINE# #INDENT# tracing . trace ( Class2 , recursive = True ) #NEWLINE# Class2 . class_method ( ) #NEWLINE# Class2 . static_method ( ) #NEWLINE# test = Class2 ( ) #NEWLINE# test . test = 1 #NEWLINE# assert ( 1 == test . test ) #NEWLINE# test . method ( ) #NEWLINE# self . assertEqual ( self . capture . getvalue ( ) , ( ">> Class2.class_method(cls=<type 'Class2'>)\n" + '<< Class2.class_method\n>> static_method()\n<< static_method\n' ) )