wip(k1): checkpoint connection recovery rewrite
Capture the current unreleased K1 connection, recovery, lifecycle, viewer, and test work as a single known-bad baseline for subsequent fixes.
This commit is contained in:
@@ -13,8 +13,14 @@ def test_ble_scan_exposes_every_device_and_only_labels_likely_k1(
|
||||
monkeypatch: MonkeyPatch,
|
||||
tmp_path: Path,
|
||||
) -> None:
|
||||
async def fake_scan(duration_seconds: float) -> dict[str, Any]:
|
||||
async def fake_scan(
|
||||
duration_seconds: float,
|
||||
*,
|
||||
on_admitted: object,
|
||||
) -> dict[str, Any]:
|
||||
assert duration_seconds == 6.0
|
||||
assert callable(on_admitted)
|
||||
on_admitted()
|
||||
return {
|
||||
"devices": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user