From 2da8e812485b80592ef7437f5916c0259045d0d3 Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:11:25 +0100 Subject: [PATCH] Remove accidental commmit --- trafficlight/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/trafficlight/__init__.py b/trafficlight/__init__.py index 89bf31f..27813dd 100644 --- a/trafficlight/__init__.py +++ b/trafficlight/__init__.py @@ -118,17 +118,6 @@ async def startup() -> None: if kiwi.kiwi_client: await kiwi.kiwi_client.start_run() - async def wait_for_done() -> None: - try: - if suite.done() for suite in get_testsuites(): - if suite.done() - logger.info("Everything done!") - await app.shutdown() - - app.add_background_task( - wait_for_done, - ) - @app.after_serving async def shutdown() -> None: adapter.stop_background_tasks = True