#NEWLINE# def test_create_override( self ) : #NEWLINE# #INDENT# config_1 = objects . OpenstackConfig . create ( { #NEWLINE# #INDENT# 'cluster_id' : self . cluster . id , #NEWLINE# 'configuration' : { #NEWLINE# #INDENT# 'key' : 'value' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertTrue ( config_1 . is_active ) #NEWLINE# config_2 = objects . OpenstackConfig . create ( { #NEWLINE# #INDENT# 'cluster_id' : self . cluster . id , #NEWLINE# 'configuration' : { #NEWLINE# #INDENT# 'key' : 'value' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertTrue ( config_2 . is_active ) #NEWLINE# self . assertFalse ( config_1 . is_active )