datasette/tests
Simon Willison d9b508ffaa @documented decorator plus unit test plus sphinx.ext.autodoc
New mechanism for marking datasette.utils functions that should be covered by the
documentation, then testing that they have indeed been documented.

Also enabled sphinx.ext.autodoc which can now be used to embed the documented
versions of those functions.

Refs #1176
2022-02-06 22:31:06 -08:00
..
plugins Implemented import shortcuts, closes #957 2022-02-05 22:34:33 -08:00
test_templates Fix handling of nested custom page wildcard paths, closes #996 2020-10-07 15:51:11 -07:00
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
build_small_spatialite_db.py New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
conftest.py Attempted fix for too-long UDS bug in #1407 2021-07-31 11:48:33 -07:00
fixtures.py Fix bug introduced by refactor in c35b84a2aa 2021-12-17 18:19:09 -08:00
spatialite.db New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
test_api.py Refactor test_trace into separate test module, refs #1576 2022-02-04 20:45:13 -08:00
test_auth.py Upgrade to httpx 0.20 2021-10-14 11:03:44 -07:00
test_black.py Run black against everything, not just tests and datasette dirs 2020-02-13 15:02:10 -08:00
test_canned_queries.py rel=alternate JSON for queries and database pages, closes #1620 2022-02-02 13:22:45 -08:00
test_cli.py Return plugins and hooks in predictable order 2022-01-19 21:14:04 -08:00
test_cli_serve_get.py Use context manager instead of plain open (#1211) 2021-03-11 08:15:49 -08:00
test_cli_serve_server.py Ran Black, refs #1388 2021-07-10 16:46:49 -07:00
test_config_dir.py Support for generated columns 2020-11-30 13:29:57 -08:00
test_crossdb.py --crossdb option for joining across databases (#1232) 2021-02-18 14:09:12 -08:00
test_csv.py Fixed CSV test I broke in #1525 2021-11-29 22:37:22 -08:00
test_custom_pages.py Upgrade to httpx 0.20 2021-10-14 11:03:44 -07:00
test_docs.py @documented decorator plus unit test plus sphinx.ext.autodoc 2022-02-06 22:31:06 -08:00
test_facets.py Fixed remaining code and docs for new block=True default, closes #1579 2021-12-23 11:18:20 -08:00
test_filters.py filters_from_request plugin hook, now used in TableView 2021-12-17 11:02:14 -08:00
test_html.py Remove JSON rel=alternate from some pages, closes #1623 2022-02-02 13:48:52 -08:00
test_internal_db.py Compound primary key for foreign_keys table in _internal 2020-12-22 11:04:29 -08:00
test_internals_database.py Fixed remaining code and docs for new block=True default, closes #1579 2021-12-23 11:18:20 -08:00
test_internals_datasette.py Documentation for Datasette() constructor, closes #1563 2021-12-17 18:19:36 -08:00
test_internals_datasette_client.py Upgrade to httpx 0.20 2021-10-14 11:03:44 -07:00
test_internals_request.py Test for JSON in query_string name, refs #621 2021-12-14 12:29:05 -08:00
test_internals_response.py response.set_cookie(), closes #795 2020-06-09 15:19:37 -07:00
test_internals_urls.py Renamed /:memory: to /_memory, with redirects - closes #1205 2021-01-28 14:48:56 -08:00
test_messages.py Use f-strings in place of .format() 2020-11-15 15:24:22 -08:00
test_package.py Replace all uses of runner.isolated_filesystem, refs #1406 2021-07-31 11:49:08 -07:00
test_permissions.py New get_metadata() plugin hook for dynamic metadata 2021-06-26 15:24:54 -07:00
test_plugins.py filters_from_request plugin hook, now used in TableView 2021-12-17 11:02:14 -08:00
test_publish_cloudrun.py --cpu option for datasette publish cloudrun, closes #1420 2021-08-03 22:20:50 -07:00
test_publish_heroku.py Replace all uses of runner.isolated_filesystem, refs #1406 2021-07-31 11:49:08 -07:00
test_table_api.py ?_nosuggest=1 parameter for table views, closes #1557 2021-12-16 11:24:54 -08:00
test_table_html.py rel=alternate JSON for queries and database pages, closes #1620 2022-02-02 13:22:45 -08:00
test_tracer.py tracer.trace_child_tasks() for asyncio.gather tracing 2022-02-04 21:19:49 -08:00
test_utils.py Allow 'explain query plan' with more whitespace, closes #1588 2022-01-13 12:34:55 -08:00
utils.py Refactor table view HTML tests to test_table_html.py 2021-12-11 19:06:45 -08:00