#NEWLINE# def test_create_security_group_default_rule_with_no_cidr( self ) : #NEWLINE# #INDENT# sgr = security_group_default_rule_template ( ) #NEWLINE# del sgr [ 'cidr' ] #NEWLINE# res_dict = self . controller . create ( self . req , { #NEWLINE# #INDENT# 'security_group_default_rule' : sgr , #NEWLINE# #UNINDENT# } ) #NEWLINE# security_group_default_rule = res_dict [ 'security_group_default_rule' ] #NEWLINE# self . assertNotEqual ( security_group_default_rule [ 'id' ] , 0 ) #NEWLINE# self . assertEqual ( security_group_default_rule [ 'ip_range' ] [ 'cidr' ] , '0.0.0.0/0' )