#NEWLINE# def test_inject_value( self ) : #NEWLINE# #INDENT# ij = Injector ( ) #NEWLINE# value = [ ] #NEWLINE# ij . add_value ( 'val' , value ) #NEWLINE# def test( val , other = inject ( 'val' ) ) : #NEWLINE# #INDENT# self . assertTrue ( ( val is other ) ) #NEWLINE# self . assertTrue ( ( val is value ) ) #NEWLINE# val . append ( 5 ) #NEWLINE# #UNINDENT# ij . call_inject ( test ) #NEWLINE# self . assertEqual ( [ 5 ] , value )