'Ensure if inheritance is on in a subclass you cant turn it off.'

def test_cant_turn_off_inheritance_on_subclass(self):

    class Animal(Document, ):
        name = StringField()
        meta = {'allow_inheritance': True}
    with self.assertRaises(ValueError):
        class Mammal(Animal, ):
            meta = {'allow_inheritance': False}
