mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
8bc9b1ee03
commit
a508fc4a8e
4 changed files with 10 additions and 76 deletions
|
|
@ -677,7 +677,7 @@ async def test_existing_scope_actor_respected(ds_client):
|
|||
("this_is_denied_async", False),
|
||||
],
|
||||
)
|
||||
async def test_hook_permission_allowed(action, expected):
|
||||
async def test_hook_custom_allowed(action, expected):
|
||||
# Test actions and permission logic are defined in tests/plugins/my_plugin.py
|
||||
ds = Datasette(plugins_dir=PLUGINS_DIR)
|
||||
await ds.invoke_startup()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue