#NEWLINE# def fake_fixed_ip_update( context , address , values ) : #NEWLINE# #INDENT# fixed_ip = fake_fixed_ip_get_by_address ( context , address ) #NEWLINE# if ( fixed_ip is None ) : #NEWLINE# #INDENT# raise exception . FixedIpNotFoundForAddress ( address = address ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for key in values : #NEWLINE# #INDENT# fixed_ip [ key ] = values [ key ]