#NEWLINE# def test_update_dict( self ) : #NEWLINE# #INDENT# 'Update using a dictionary' #NEWLINE# obj = aDriver ( ) #NEWLINE# obj . update ( { #NEWLINE# #INDENT# 'eggs' : 3 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( obj . eggs , 3 ) #NEWLINE# obj . update ( { #NEWLINE# #INDENT# 'eggs' : 4 , #NEWLINE# 'ham' : 22 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( obj . eggs , 4 ) #NEWLINE# self . assertEqual ( obj . ham , 22 )