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