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