(executor)
| 72 | |
| 73 | @dbtest |
| 74 | def test_bools_are_treated_as_strings(executor): |
| 75 | run(executor, """create table test(a boolean)""") |
| 76 | run(executor, """insert into test values(True)""") |
| 77 | assert run(executor, """select * from test""", join=True) == dedent( |
| 78 | """\ |
| 79 | +------+ |
| 80 | | a | |
| 81 | |------| |
| 82 | | True | |
| 83 | +------+ |
| 84 | SELECT 1""" |
| 85 | ) |
| 86 | |
| 87 | |
| 88 | @dbtest |