#NEWLINE# def test_dirty( self ) : #NEWLINE# #INDENT# key = 'key' #NEWLINE# key2 = 'key2' #NEWLINE# value = 'value' #NEWLINE# attrs = { #NEWLINE# #INDENT# key : value , #NEWLINE# #UNINDENT# } #NEWLINE# sot = resource2 . _ComponentManager ( attributes = attrs , synchronized = False ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# key : value , #NEWLINE# #UNINDENT# } , sot . dirty ) #NEWLINE# sot . __setitem__ ( key2 , value ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# value : value , #NEWLINE# key2 : value , #NEWLINE# #UNINDENT# } , sot . dirty )