Skip to content

Commit

Permalink
Rename existing test, refs #22
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Dec 20, 2023
1 parent 1e48732 commit cf0391b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_edit_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ async def test_static_assets(db_path):
@pytest.mark.parametrize(
"path", ["/-/edit-schema", "/-/edit-schema/data", "/-/edit-schema/data/creatures"]
)
async def test_permission_check(db_path, path):
async def test_edit_schema_permission(db_path, path):
# root user has edit-schema which allows access to all
ds = Datasette([db_path])
someuser_cookies = {"ds_actor": ds.sign({"a": {"id": "someuser"}}, "actor")}
root_cookies = {"ds_actor": ds.sign({"a": {"id": "root"}}, "actor")}
Expand Down

0 comments on commit cf0391b

Please sign in to comment.