datasette/tests
Jan Lehnardt e03aed0002 Detect server start/stop more reliably.
This is useful, especially in testing, since your test
hosts might not reliabliy start the server within two
seconds, so we do a definite check before progressing.

By the same token, after `kill $server_pid` wait for
the pid to be gone from the process list.

Since now the script can end prematurely, I also added
a cleanup function to make sure the temporary certs are
removed in any case.

n.b. this could also be done with the use of `trap 'fn'
ERR` but that felt like a bit too much magic for this
short a script.
2022-12-18 08:01:51 -08:00
..
plugins Don't use pytest_asyncio.fixture(scope="session") any more, refs #1959 2022-12-17 13:47:55 -08:00
test_templates
__init__.py
build_small_spatialite_db.py
conftest.py Move HTTPS test to a bash script 2022-12-17 18:33:07 -08:00
ext.c
fixtures.py register_permissions() plugin hook (#1940) 2022-12-12 18:05:54 -08:00
spatialite.db
test_api.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_api_write.py Extra permission rules for /-/create, closes #1937 2022-12-14 12:21:18 -08:00
test_auth.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_black.py
test_canned_queries.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_cli.py Fix some failing tests, refs #1855 2022-12-12 21:00:40 -08:00
test_cli_serve_get.py datasette --get --token option, closes #1946, refs #1855 2022-12-12 20:36:42 -08:00
test_cli_serve_server.py Move HTTPS test to a bash script 2022-12-17 18:33:07 -08:00
test_config_dir.py
test_crossdb.py
test_csv.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_custom_pages.py
test_datasette_https_server.sh Detect server start/stop more reliably. 2022-12-18 08:01:51 -08:00
test_docs.py
test_facets.py Reset _metadata_local in a couple of tests 2022-12-17 13:47:55 -08:00
test_filters.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_html.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_internal_db.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_internals_database.py
test_internals_datasette.py A bunch of remaining ds_client conversions, refs #1959 2022-12-17 13:47:55 -08:00
test_internals_datasette_client.py A bunch of remaining ds_client conversions, refs #1959 2022-12-17 13:47:55 -08:00
test_internals_request.py
test_internals_response.py
test_internals_urls.py
test_load_extensions.py
test_messages.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_package.py
test_permissions.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_plugins.py Reset _metadata_local in a couple of tests 2022-12-17 13:47:55 -08:00
test_publish_cloudrun.py
test_publish_heroku.py
test_routes.py
test_spatialite.py
test_table_api.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_table_html.py Removed @pytest.mark.ds_client mark - refs #1959 2022-12-17 13:47:55 -08:00
test_tracer.py
test_utils.py
utils.py Ported app_client to ds_client where possible in test_auth.py, refs #1959 2022-12-17 13:47:55 -08:00