set-column-types permission, refs #2671

This commit is contained in:
Simon Willison 2026-03-18 11:47:13 -07:00
commit bee25f58cb
5 changed files with 64 additions and 2 deletions

View file

@ -164,7 +164,14 @@ def test_datasette_error_if_string_not_list(tmpdir):
@pytest.mark.asyncio
async def test_get_action(ds_client):
ds = ds_client.ds
for name_or_abbr in ("vi", "view-instance", "vt", "view-table"):
for name_or_abbr in (
"vi",
"view-instance",
"vt",
"view-table",
"sct",
"set-column-types",
):
action = ds.get_action(name_or_abbr)
if "-" in name_or_abbr:
assert action.name == name_or_abbr