kopia lustrzana https://github.com/simonw/datasette
Fixed rogue output in tests, closes #755
rodzic
9424687e9e
commit
cc872b1f50
|
@ -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]
|
||||
|
|
Ładowanie…
Reference in New Issue