#NEWLINE# def test_update_record_success( self ) : #NEWLINE# #INDENT# zone = self . driver . list_zones ( ) [ 0 ] #NEWLINE# record = self . driver . list_records ( zone = zone ) [ 0 ] #NEWLINE# updated_record = self . driver . update_record ( record = record , data = '127.3.3.3' ) #NEWLINE# self . assertEqual ( record . name , 'test3' ) #NEWLINE# self . assertEqual ( record . data , '127.7.7.7' ) #NEWLINE# self . assertEqual ( updated_record . id , record . id ) #NEWLINE# self . assertEqual ( updated_record . name , record . name ) #NEWLINE# self . assertEqual ( updated_record . zone , record . zone ) #NEWLINE# self . assertEqual ( self . type , record . type ) #NEWLINE# self . assertEqual ( updated_record . data , '127.3.3.3' )