datasette/tests
Simon Willison ba8db9679f
Port Datasette from Sanic to ASGI + Uvicorn (#518)
Datasette now uses ASGI internally, and no longer depends on Sanic.

It now uses Uvicorn as the underlying HTTP server.

This was thirteen months in the making... for full details see the issue:

https://github.com/simonw/datasette/issues/272

And for a full sequence of commits plus commentary, see the pull request:

https://github.com/simonw/datasette/pull/518
2019-06-23 20:13:09 -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 Run sanity checks, not .inspect(), on startup 2019-05-11 16:22:55 -07:00
fixtures.py Port Datasette from Sanic to ASGI + Uvicorn (#518) 2019-06-23 20:13:09 -07:00
spatialite.db New run_sanity_checks mechanism, for SpatiLite 2019-05-11 15:55:30 -07:00
test_api.py Port Datasette from Sanic to ASGI + Uvicorn (#518) 2019-06-23 20:13:09 -07:00
test_black.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
test_cli.py serve --inspect-file=X now populates cached table counts 2019-05-16 07:30:32 -07:00
test_csv.py Port Datasette from Sanic to ASGI + Uvicorn (#518) 2019-06-23 20:13:09 -07:00
test_database.py Fixed duplicate function name 2019-05-27 18:49:57 -07:00
test_docs.py Rename "datasette publish now" to "datasette publish nowv1" 2019-05-19 11:06:51 -07:00
test_facets.py Sort keys to past tests in Python 3.5 2019-05-25 09:22:02 -07:00
test_filters.py Updated tests for date(...) lookup 2019-05-20 23:06:19 -07:00
test_html.py Port Datasette from Sanic to ASGI + Uvicorn (#518) 2019-06-23 20:13:09 -07:00
test_plugins.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
test_publish_cloudrun.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
test_publish_heroku.py Fixed "datasette publish now ... --alias=x" 2019-05-11 13:20:36 -07:00
test_publish_now.py Rename "datasette publish now" to "datasette publish nowv1" 2019-05-19 11:06:51 -07:00
test_utils.py Port Datasette from Sanic to ASGI + Uvicorn (#518) 2019-06-23 20:13:09 -07:00
utils.py Extract facet code out into a new plugin hook, closes #427 (#445) 2019-05-02 17:11:26 -07:00