#NEWLINE# def do_add_record6( self , data ) : #NEWLINE# #INDENT# rec = AddressRecord ( label = data [ 'label' ] , domain = data [ 'domain' ] , ip_str = rec [ 'ip' ] , ip_type = '6' ) #NEWLINE# rec . save ( ) #NEWLINE# self . assertTrue ( rec . __repr__ ( ) ) #NEWLINE# self . assertTrue ( rec . get_absolute_url ( ) ) #NEWLINE# self . assertTrue ( rec . get_edit_url ( ) ) #NEWLINE# self . assertTrue ( rec . get_delete_url ( ) ) #NEWLINE# self . assertTrue ( rec . details ( ) )