datasette/tests
Kevin Keogh 3041c6b641
Use inspect-file, if possible, for total row count (#666)
For large tables, counting the number of rows in the table can take a
significant amount of time. Instead, where an inspect-file is provided
for an immutable database, look up the row-count for a plain count(*).

Thanks, @kevindkeogh
2020-02-25 12:19:29 -08:00
..
test_templates Render templates using Jinja async mode 2019-11-14 15:14:22 -08:00
__init__.py
build_small_spatialite_db.py
conftest.py --port argument for datasette package, plus tests - closes #661 2020-01-29 14:46:43 -08:00
fixtures.py Use inspect-file, if possible, for total row count (#666) 2020-02-25 12:19:29 -08:00
spatialite.db
test_api.py Use inspect-file, if possible, for total row count (#666) 2020-02-25 12:19:29 -08:00
test_black.py Run black against everything, not just tests and datasette dirs 2020-02-13 15:02:10 -08:00
test_cli.py
test_csv.py Suggest column facet only if at least one count > 1 2019-11-21 16:56:55 -08:00
test_database.py .execute_write() and .execute_write_fn() methods on Database (#683) 2020-02-24 20:45:07 -08:00
test_docs.py
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 pk__notin= filter, closes #614 2019-11-03 20:11:55 -08:00
test_html.py Added template_debug setting, closes #654 2019-12-22 16:04:45 +00:00
test_package.py --port argument for datasette package, plus tests - closes #661 2020-01-29 14:46:43 -08:00
test_plugins.py Better tests for prepare_connection() plugin hook, refs #678 2020-02-21 18:27:07 -08:00
test_publish_cloudrun.py gcloud run is now GA, s/beta// (#660) 2020-01-21 15:28:11 -08:00
test_publish_heroku.py Fix "publish heroku" + upgrade to use Python 3.8.0 2019-11-13 08:42:47 -08:00
test_publish_now.py datasette publish uses python:3.8 base Docker image, closes #629 2019-11-11 22:03:09 -08:00
test_utils.py Refactored run_sanity_checks to check_connection(conn), refs #674 2020-02-15 09:56:48 -08:00
utils.py