Run sanity checks, not .inspect(), on startup

Also fixes tests that did NOT like a call to run_until_complete in the Datasette() constructor.
This commit is contained in:
Simon Willison 2019-05-11 16:22:55 -07:00
commit 24bf79d2f0
3 changed files with 5 additions and 4 deletions

View file

@ -15,6 +15,7 @@ def pytest_collection_modifyitems(items):
move_to_front(items, "test_black")
move_to_front(items, "test_inspect_cli")
move_to_front(items, "test_inspect_cli_writes_to_file")
move_to_front(items, "test_spatialite_error_if_attempt_to_open_spatialite")
def move_to_front(items, test_name):