(executor)
| 41 | |
| 42 | @dbtest |
| 43 | def test_conn(executor): |
| 44 | run(executor, """create table test(a text)""") |
| 45 | run(executor, """insert into test values('abc')""") |
| 46 | assert run(executor, """select * from test""", join=True) == dedent( |
| 47 | """\ |
| 48 | +-----+ |
| 49 | | a | |
| 50 | |-----| |
| 51 | | abc | |
| 52 | +-----+ |
| 53 | SELECT 1""" |
| 54 | ) |
| 55 | |
| 56 | |
| 57 | @dbtest |