def test_table_columns():
    conn = sqlite3.connect(':memory:')
    conn.executescript('\n    create table places (id integer primary key, name text, bob integer)\n    ')
    assert (['id', 'name', 'bob'] == utils.table_columns(conn, 'places'))
def test_table_columns():
    conn = sqlite3.connect(':memory:')
    conn.executescript('\n    create table places (id integer primary key, name text, bob integer)\n    ')
    assert (['id', 'name', 'bob'] == utils.table_columns(conn, 'places'))