mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
execute_write defaut is now block=True, closes #1579
This commit is contained in:
parent
ace86566b2
commit
00a2895cd2
3 changed files with 12 additions and 12 deletions
|
|
@ -435,7 +435,7 @@ async def test_execute_write_fn_block_false(db):
|
|||
row = conn.execute("select count(*) from roadside_attractions").fetchone()
|
||||
return row[0]
|
||||
|
||||
task_id = await db.execute_write_fn(write_fn)
|
||||
task_id = await db.execute_write_fn(write_fn, block=False)
|
||||
assert isinstance(task_id, uuid.UUID)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue