'Tests that defining a model with more than one discriminator column fails'

def test_multiple_discriminator_value_failure(self):

    with self.assertRaises(models.ModelDefinitionException):
        class M(models.Model, ):
            partition = columns.Integer(primary_key=True)
            type1 = columns.Integer(discriminator_column=True)
            type2 = columns.Integer(discriminator_column=True)
