datasette/tests
Simon Willison 9bec7c38eb ignore and replace options for bulk inserts, refs #1873
Also removed the rule that you cannot include primary keys in the rows you insert.

And added validation that catches invalid parameters in the incoming JSON.

And renamed "inserted" to "rows" in the returned JSON for return_rows: true
2022-11-01 11:08:17 -07:00
..
plugins Async support for prepare_jinja2_environment, closes #1809 2022-09-16 20:38:24 -07: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 Poll until servers start, refs #1854 2022-10-25 16:03:36 -07:00
ext.c Add new entrypoint option to --load-extensions. (#1789) 2022-08-23 11:34:30 -07:00
fixtures.py Try to address too many files error again, refs #1843 2022-10-25 21:25:47 -07:00
spatialite.db New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
test_api.py Show interrupted query in resizing textarea, closes #1876 2022-11-01 10:38:24 -07:00
test_api_write.py ignore and replace options for bulk inserts, refs #1873 2022-11-01 11:08:17 -07:00
test_auth.py max_signed_tokens_ttl setting, closes #1858 2022-10-26 20:14:59 -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 Don't allow canned write queries on immutable DBs, closes #1728 2022-08-14 09:34:31 -07:00
test_cli.py Workaround for test failure: RuntimeError: There is no current event loop (#1803) 2022-09-05 17:40:19 -07: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 .sqlite/.sqlite3 extensions for config directory mode 2022-10-07 16:03:30 -07:00
test_crossdb.py --crossdb option for joining across databases (#1232) 2021-02-18 14:09:12 -08:00
test_csv.py Fixed bug where tables with a column called n caused 500 errors 2022-03-18 18:37:54 -07:00
test_custom_pages.py Remove hashed URL mode 2022-03-18 17:12:03 -07:00
test_docs.py Initial prototype of API explorer at /-/api, refs #1871 2022-10-29 23:20:11 -07:00
test_facets.py table facet_size in metadata, refs #1804 2022-09-06 08:59:19 -07:00
test_filters.py filters_from_request plugin hook, now used in TableView 2021-12-17 11:02:14 -08:00
test_html.py Show interrupted query in resizing textarea, closes #1876 2022-11-01 10:38:24 -07: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 Test for bool(results), closes #1832 2022-10-04 21:32:29 -07:00
test_internals_datasette.py Fix bug with breadcrumbs and request=None, closes #1849 2022-10-26 20:14:59 -07:00
test_internals_datasette_client.py Async support for prepare_jinja2_environment, closes #1809 2022-09-16 20:38:24 -07:00
test_internals_request.py Request.fake(... url_vars), plus .fake() is now documented 2022-03-31 19:01:58 -07:00
test_internals_response.py response.set_cookie(), closes #795 2020-06-09 15:19:37 -07:00
test_internals_urls.py Remove hashed URL mode 2022-03-18 17:12:03 -07:00
test_load_extensions.py Add new entrypoint option to --load-extensions. (#1789) 2022-08-23 11:34:30 -07:00
test_messages.py Use f-strings in place of .format() 2020-11-15 15:24:22 -08:00
test_package.py Upgrade Docker images to Python 3.11, closes #1853 2022-10-25 12:04:25 -07:00
test_permissions.py Fix display of padlocks on database page, closes #1848 2022-10-23 19:42:30 -07:00
test_plugins.py datasette create-token command, refs #1859 2022-10-25 21:26:12 -07:00
test_publish_cloudrun.py Upgrade Docker images to Python 3.11, closes #1853 2022-10-25 12:04:25 -07:00
test_publish_heroku.py Replace all uses of runner.isolated_filesystem, refs #1406 2021-07-31 11:49:08 -07:00
test_routes.py Async support for prepare_jinja2_environment, closes #1809 2022-09-16 20:38:24 -07:00
test_spatialite.py Skip SpatiaLite test if no conn.enable_load_extension() 2022-09-05 17:09:57 -07:00
test_table_api.py truncate_cells_html now affects URLs too, refs #1805 2022-09-06 16:50:43 -07:00
test_table_html.py truncate_cells_html now affects URLs too, refs #1805 2022-09-06 16:50:43 -07:00
test_tracer.py tracer.trace_child_tasks() for asyncio.gather tracing 2022-02-04 21:19:49 -08:00
test_utils.py Add test for /* multi line */ comment, refs #1860 2022-10-27 11:52:06 -07:00
utils.py Skip SpatiaLite test if no conn.enable_load_extension() 2022-09-05 17:09:57 -07:00