def check_column(column, column_intermediary): output = column_to_intermediary(column) assert output.name == column_intermediary.name assert output.is_key is column_intermediary.is_key assert output.type == column_intermediary.type