#NEWLINE# def text_update_ptr_success( self ) : #NEWLINE# #INDENT# records = self . driver . ex_iterate_ptr_records ( RDNS_NODE ) #NEWLINE# original = next ( records ) #NEWLINE# updated = self . driver . ex_update_ptr_record ( original , domain = original . domain ) #NEWLINE# self . assertEqual ( original . id , updated . id ) #NEWLINE# extra_update = { #NEWLINE# #INDENT# 'ttl' : original . extra [ 'ttl' ] , #NEWLINE# #UNINDENT# } #NEWLINE# updated = self . driver . ex_update_ptr_record ( original , extra = extra_update ) #NEWLINE# self . assertEqual ( original . id , updated . id ) #NEWLINE# updated = self . driver . ex_update_ptr_record ( original , 'new-domain' ) #NEWLINE# self . assertEqual ( original . id , updated . id )