mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-17 14:04:11 +02:00
Documentation for tracer mechanism
This commit is contained in:
parent
31bea2ac61
commit
f12251092c
12 changed files with 68 additions and 22 deletions
|
|
@ -41,5 +41,5 @@ def test_column_affinity(column_def, expected_type):
|
|||
|
||||
@pytest.mark.parametrize("column_def,expected_type", EXAMPLES)
|
||||
def test_columns_dict(fresh_db, column_def, expected_type):
|
||||
fresh_db.conn.execute("create table foo (col {})".format(column_def))
|
||||
fresh_db.execute("create table foo (col {})".format(column_def))
|
||||
assert {"col": expected_type} == fresh_db["foo"].columns_dict
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue