--get now calls startup() plugin hooks, closes #934

This commit is contained in:
Simon Willison 2020-08-15 13:38:15 -07:00
commit 45414f8412
4 changed files with 59 additions and 21 deletions

View file

@ -25,9 +25,11 @@ def pytest_unconfigure(config):
def pytest_collection_modifyitems(items):
# Ensure test_black.py and test_inspect.py run first before any asyncio code kicks in
# Ensure test_cli.py and test_black.py and test_inspect.py run first before any asyncio code kicks in
move_to_front(items, "test_cli")
move_to_front(items, "test_black")
move_to_front(items, "test_inspect_cli")
move_to_front(items, "test_serve_with_get")
move_to_front(items, "test_inspect_cli_writes_to_file")
move_to_front(items, "test_spatialite_error_if_attempt_to_open_spatialite")
move_to_front(items, "test_package")