mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-17 05:54:23 +02:00
Rename transform_table to just transform, refs #114
This commit is contained in:
parent
774e82d562
commit
e3f3bea60a
2 changed files with 9 additions and 11 deletions
|
|
@ -24,9 +24,9 @@ import pytest
|
|||
),
|
||||
],
|
||||
)
|
||||
def test_transform_table_sql(fresh_db, params, expected_sql):
|
||||
def test_transform_sql(fresh_db, params, expected_sql):
|
||||
dogs = fresh_db["dogs"]
|
||||
dogs.insert({"id": 1, "name": "Cleo", "age": "5"}, pk="id")
|
||||
params["tmp_suffix"] = "suffix"
|
||||
sql = dogs.transform_table_sql(**params)
|
||||
sql = dogs.transform_sql(**params)
|
||||
assert sql == expected_sql
|
||||
Loading…
Add table
Add a link
Reference in a new issue