#NEWLINE# def test_create_security_group_default_rule_with_no_ip_protocol( self ) : #NEWLINE# #INDENT# sgr = security_group_default_rule_template ( ) #NEWLINE# del sgr [ 'ip_protocol' ] #NEWLINE# self . assertRaises ( webob . exc . HTTPBadRequest , sgr . controller . create , self . req , { #NEWLINE# #INDENT# 'security_group_default_rule' : sgr , #NEWLINE# #UNINDENT# } )