#NEWLINE# def test5_bad_create( self ) : #NEWLINE# #INDENT# start_str = '1234:123e:1234:1234::' #NEWLINE# end_str = '1234:123e:1235:1234:1234:1234::' #NEWLINE# default_domain = self . d #NEWLINE# network = self . s #NEWLINE# rtype = 's' #NEWLINE# ip_type = '6' #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'start_str' : start_str , #NEWLINE# 'end_str' : end_str , #NEWLINE# 'default_domain' : default_domain , #NEWLINE# 'network' : network , #NEWLINE# 'rtype' : rtype , #NEWLINE# 'ip_type' : ip_type , #NEWLINE# #UNINDENT# } #NEWLINE# self . do_add ( ** network ) #NEWLINE# start_str = '1234:123e:1234:1234::' #NEWLINE# end_str = '1234:123e:1235:1234:1234:1234::' #NEWLINE# default_domain = self . d #NEWLINE# network = self . s #NEWLINE# rtype = 's' #NEWLINE# ip_type = '6' #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'start_str' : start_str , #NEWLINE# 'end_str' : end_str , #NEWLINE# 'default_domain' : default_domain , #NEWLINE# 'network' : network , #NEWLINE# 'rtype' : rtype , #NEWLINE# 'ip_type' : ip_type , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( ValidationError , self . do_add , ** kwargs )