#NEWLINE# def test_setitem_unchanged( self ) : #NEWLINE# #INDENT# key = 'key' #NEWLINE# value = 'value' #NEWLINE# attrs = { #NEWLINE# #INDENT# key : value , #NEWLINE# #UNINDENT# } #NEWLINE# sot = resource2 . _ComponentManager ( attributes = attrs , synchronized = True ) #NEWLINE# sot . __setitem__ ( key , value ) #NEWLINE# self . assertEqual ( value , sot . attributes [ key ] ) #NEWLINE# self . assertNotIn ( key , sot . dirty )