clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C

This commit is contained in:
Qubasa
2024-12-09 18:07:23 +01:00
parent f30e9fed9b
commit 65a5789c5b
18 changed files with 549 additions and 436 deletions

View File

@@ -0,0 +1,7 @@
import pytest
from clan_cli.async_run import AsyncRuntime
@pytest.fixture
def runtime() -> AsyncRuntime:
return AsyncRuntime()