kopia lustrzana https://github.com/simonw/datasette
Update plugin tests, refs #834
rodzic
ae99af2536
commit
d60bd6ad13
|
@ -64,6 +64,7 @@ EXPECTED_PLUGINS = [
|
|||
"extra_template_vars",
|
||||
"permission_allowed",
|
||||
"render_cell",
|
||||
"startup",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
@ -127,4 +127,5 @@ def startup(datasette):
|
|||
async def inner():
|
||||
result = await datasette.get_database().execute("select 1 + 1")
|
||||
datasette._startup_hook_calculation = result.first()[0]
|
||||
|
||||
return inner
|
||||
|
|
Ładowanie…
Reference in New Issue