Update plugin tests, refs #834

This commit is contained in:
Simon Willison 2020-06-13 11:15:33 -07:00
commit d60bd6ad13
2 changed files with 2 additions and 0 deletions

View file

@ -64,6 +64,7 @@ EXPECTED_PLUGINS = [
"extra_template_vars",
"permission_allowed",
"render_cell",
"startup",
],
},
{

View file

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