Fixed rogue output in tests, closes #755

pull/763/head
Simon Willison 2020-05-04 11:42:01 -07:00
rodzic 9424687e9e
commit cc872b1f50
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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]