#NEWLINE# def test_create_security_group_default_rule_with_blank_from_port( self ) : #NEWLINE# #INDENT# sgr = security_group_default_rule_template ( from_port = '' ) #NEWLINE# self . assertRaises ( webob . exc . HTTPBadRequest , self . controller . create , sgr . req , { #NEWLINE# #INDENT# 'security_group_default_rule' : sgr , #NEWLINE# #UNINDENT# } )