home / docs / sections

sections: upgrade-1.0a20:root-enabled-instances-during-testing

This data as json

id page ref title content breadcrumbs references
upgrade-1.0a20:root-enabled-instances-during-testing upgrade-1.0a20 root-enabled-instances-during-testing Root-enabled instances during testing When writing tests that exercise root-only functionality, make sure to set datasette.root_enabled = True on the Datasette instance. Root permissions are only granted automatically when Datasette is started with datasette --root or when the flag is enabled directly in tests. ["Datasette 1.0a20 plugin upgrade guide", "Root user checks are no longer necessary"] []
Powered by Datasette · Queries took 3.033ms