#NEWLINE# def test_create_security_group_default_rule_invalid_cidr( self ) : #NEWLINE# #INDENT# sgr = security_group_default_rule_template ( cidr = '10.10.2222.0/24' ) #NEWLINE# self . assertRaises ( webob . exc . HTTPBadRequest , self . controller . create , self . req , { #NEWLINE# #INDENT# 'security_group_default_rule' : self , #NEWLINE# #UNINDENT# } )