datasette/tests
Simon Willison 8f97b9b58e
datasette.client internal requests mechanism
Closes #943

* Datasette now requires httpx>=0.15
* Support OPTIONS without 500, closes #1001
* Added internals tests for datasette.client methods
* Datasette's own test mechanism now uses httpx to simulate requests
* Tests simulate HTTP 1.1 now
* Added base_url in a bunch more places
* Mark some tests as xfail - will remove that when new httpx release ships: #1005
2020-10-09 09:11:24 -07:00
..
plugins Upgrade to Black 20.8b1, closes #958 2020-09-02 15:24:55 -07:00
test_templates Fix handling of nested custom page wildcard paths, closes #996 2020-10-07 15:51:11 -07:00
__init__.py
build_small_spatialite_db.py New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
conftest.py Fix for test I broke in #947 2020-09-11 15:04:23 -07:00
fixtures.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
spatialite.db New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
test_api.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_auth.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -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 Fix for MagicParameters error with no POST body, closes #967 2020-09-15 13:12:57 -07:00
test_cli.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_cli_serve_get.py datasette --get status code for error pages, closes #947 2020-09-11 14:32:54 -07:00
test_config_dir.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_csv.py Fixed content-disposition header on DB download, closes #909 2020-07-29 14:34:22 -07:00
test_custom_pages.py Applied Black 2020-10-07 15:51:25 -07:00
test_docs.py Applied Black 2020-08-16 10:35:14 -07:00
test_facets.py Don't suggest array facet if column is only [], closes #610 2019-11-01 14:45:59 -07:00
test_filters.py Upgrade to Black 20.8b1, closes #958 2020-09-02 15:24:55 -07:00
test_html.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_internals_database.py Tests for db.table_columns() and db.table_column_details() 2020-10-06 14:02:30 -07:00
test_internals_datasette.py datasette.sign() and datasette.unsign() methods, refs #785 2020-05-31 18:16:42 -07:00
test_internals_datasette_client.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_internals_request.py await request.post_body() method, closes #897 2020-07-17 13:12:35 -07:00
test_internals_response.py response.set_cookie(), closes #795 2020-06-09 15:19:37 -07:00
test_messages.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_package.py --secret command for datasette publish 2020-06-11 09:02:03 -07:00
test_permissions.py Upgrade to Black 20.8b1, closes #958 2020-09-02 15:24:55 -07:00
test_plugins.py datasette.client internal requests mechanism 2020-10-09 09:11:24 -07:00
test_publish_cloudrun.py Upgrade to Black 20.8b1, closes #958 2020-09-02 15:24:55 -07:00
test_publish_heroku.py datasette publish heroku --tar option, closes #969 2020-10-08 16:30:46 -07:00
test_utils.py Handle \r\n correctly in CSS escapes, refs #980 2020-09-29 12:16:30 -07:00
utils.py Extract facet code out into a new plugin hook, closes #427 (#445) 2019-05-02 17:11:26 -07:00