diff --git a/tests/test_cli.py b/tests/test_cli.py index 9e43fb9..c9f4658 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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"}, + ]