mirror of
https://github.com/simonw/datasette.git
synced 2026-06-06 09:07:00 +02:00
set-column-types permission, refs #2671
This commit is contained in:
parent
feaba9b18b
commit
bee25f58cb
5 changed files with 64 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue