#NEWLINE# def do_update_A_record( self , record , new_name , new_ip ) : #NEWLINE# #INDENT# if ( new_name is not None ) : #NEWLINE# #INDENT# record . label = new_name #NEWLINE# #UNINDENT# if ( new_ip is not None ) : #NEWLINE# #INDENT# record . ip_str = new_ip #NEWLINE# #UNINDENT# record . save ( ) #NEWLINE# self . _do_generic_update_test ( record , new_name , new_name , '4' )