'Assert that the table contains the expected set of columns.'

def assertTableColumns(self, table_name, expected_cols):

    table = self.select_table(table_name)
    actual_cols = [col.name for col in table.columns]
    self.assertItemsEqual(expected_cols, actual_cols, ('%s    table' % table_name))
