dclient/tests
Simon Willison 32124a0bf3 Support DATASETTE_URL and DATASETTE_TOKEN environment variables
Allow configuring a base Datasette instance URL and API token via
environment variables, so users can run commands like
`dclient query data "select ..."` without specifying a full URL each time.

DATASETTE_URL is combined with the argument as a path segment.
DATASETTE_TOKEN is used as a lowest-priority fallback for auth.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 22:10:59 -08:00
..
test_cli_auth.py dclient auth commands 2023-07-17 16:23:53 -07:00
test_datasette_plugin.py Rename 'datasette client' to 'datasette dt', closes #18 2024-02-25 11:10:53 -08:00
test_env.py Support DATASETTE_URL and DATASETTE_TOKEN environment variables 2026-02-23 22:10:59 -08:00
test_insert.py Fixed asyncio pattern for tests 2026-02-23 21:43:23 -08:00
test_query.py dclient auth commands 2023-07-17 16:23:53 -07:00
test_utils.py dclient auth commands 2023-07-17 16:23:53 -07:00