#NEWLINE# def test_dict( self ) : #NEWLINE# #INDENT# attrs = { #NEWLINE# #INDENT# 'foo' : 'spam' , #NEWLINE# 'bar' : 'eggs' , #NEWLINE# #UNINDENT# } #NEWLINE# self . obj = Spam ( ) #NEWLINE# self . assertEqual ( attrs . obj . __dict__ , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . alias . applyAttributes ( self . obj , attrs ) #NEWLINE# self . assertEqual ( self . obj . __dict__ , { #NEWLINE# #INDENT# 'foo' : 'spam' , #NEWLINE# 'bar' : 'eggs' , #NEWLINE# #UNINDENT# } )