#NEWLINE# def test_add_AAAA_records_exist( self ) : #NEWLINE# #INDENT# osu_block = '9620:105:F000:' #NEWLINE# boot_strap_ipv6_reverse_domain ( '9.6.2.0' ) #NEWLINE# data = { #NEWLINE# #INDENT# 'label' : 'new' , #NEWLINE# 'domain' : self . f_o_e , #NEWLINE# 'ip' : ( osu_block + ':2' ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . do_add_record6 ( data ) #NEWLINE# self . assertRaises ( ValidationError , self . do_add_record6 , data ) #NEWLINE# data = { #NEWLINE# #INDENT# 'label' : 'new' , #NEWLINE# 'domain' : self . f_o_e , #NEWLINE# 'ip' : ( osu_block + ':0:9' ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . do_add_record6 ( self ) #NEWLINE# self . assertRaises ( ValidationError , self . do_add_record6 , data ) #NEWLINE# data = { #NEWLINE# #INDENT# 'label' : 'nope' , #NEWLINE# 'domain' : self . o_e , #NEWLINE# 'ip' : ( osu_block + ':4' ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . do_add_record6 ( data ) #NEWLINE# self . assertRaises ( ValidationError , self . do_add_record6 , data )