#NEWLINE# def test_iter( self ) : #NEWLINE# #INDENT# attrs = { #NEWLINE# #INDENT# 'key' : 'value' , #NEWLINE# #UNINDENT# } #NEWLINE# sot = resource2 . _ComponentManager ( attributes = self ) #NEWLINE# self . assertItemsEqual ( iter ( attrs ) , sot . __iter__ ( ) )