'Tests that fields defined on the super class are inherited properly'

def test_superclass_fields_are_inherited(self):

    class TestModel(Model, ):
        id = columns.UUID(primary_key=True, default=(lambda : uuid4()))
        text = columns.Text()
    class InheritedModel(TestModel, ):
        numbers = columns.Integer()
    assert ('text' in InheritedModel._columns)
    assert ('numbers' in InheritedModel._columns)
