#NEWLINE# def test1_bad_reverse_domain( self ) : #NEWLINE# #INDENT# mac = '11:22:33:44:55:66' #NEWLINE# label = '8888foo' #NEWLINE# domain = self . f_c #NEWLINE# ip_str = ( '115::' + mac ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'mac' : mac , #NEWLINE# 'label' : label , #NEWLINE# 'domain' : domain , #NEWLINE# 'ip_str' : mac , #NEWLINE# #UNINDENT# } #NEWLINE# i = self . do_add ( ** kwargs ) #NEWLINE# i . ip_str = '9111::' #NEWLINE# self . assertRaises ( ValidationError , i . clean )