mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
invoke_startup() inside ds_client fixture, refs #1959
This commit is contained in:
parent
e70974a4f1
commit
0e42444866
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ async def ds_client():
|
||||||
conn.execute(sql, params)
|
conn.execute(sql, params)
|
||||||
|
|
||||||
await db.execute_write_fn(prepare)
|
await db.execute_write_fn(prepare)
|
||||||
|
await ds.invoke_startup()
|
||||||
_ds_client = ds.client
|
_ds_client = ds.client
|
||||||
return _ds_client
|
return _ds_client
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue