mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed rogue output in tests, closes #755
This commit is contained in:
parent
9424687e9e
commit
cc872b1f50
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ async def test_execute_write_fn_block_false(app_client):
|
|||
|
||||
def write_fn(conn):
|
||||
with conn:
|
||||
conn.execute("delete from roadside_attractions where id = 1;")
|
||||
conn.execute("delete from roadside_attractions where pk = 1;")
|
||||
row = conn.execute("select count(*) from roadside_attractions").fetchone()
|
||||
print("row = ", row)
|
||||
return row[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue