def test_superclass_fields_are_inherited(self):
        """
        Tests that fields defined on the super class are inherited properly
        """
        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
dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/model/test_class_construction.py/TestModelClassFunction.test_superclass_fields_are_inherited/original