mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-16 13:34:10 +02:00
Failing test showing that DML in sqlite-utils query doesn't work
This commit is contained in:
parent
d0cdaaaf00
commit
52418cea80
1 changed files with 3 additions and 0 deletions
|
|
@ -1126,3 +1126,6 @@ def test_query_update(db_path, args, expected):
|
|||
cli.cli, [db_path, "update dogs set age = 5 where name = 'Cleo'"] + args
|
||||
)
|
||||
assert expected == result.output.strip()
|
||||
assert db.execute_returning_dicts("select * from dogs") == [
|
||||
{"id": 1, "age": 5, "name": "Cleo"},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue