'Tests that columns that can be deleted have the del attribute'

def test_del_attribute_is_assigned_properly(self):

    class DelModel(Model, ):
        id = columns.UUID(primary_key=True, default=(lambda : uuid4()))
        key = columns.Integer(primary_key=True)
        data = columns.Integer(required=False)
    model = DelModel(key=4, data=5)
    del model.data
    with self.assertRaises(AttributeError):
        del model.key
