1
0

[loop-cycle] refactor: DRY PRESENCE_FILE — single source of truth in workshop_state (#381) (#382)

This commit is contained in:
2026-03-18 22:33:06 -04:00
parent b7573432cc
commit 19e7e61c92
4 changed files with 17 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ def _patches(mock_ws, presence_file):
from contextlib import ExitStack
stack = ExitStack()
stack.enter_context(patch("dashboard.app._PRESENCE_FILE", presence_file))
stack.enter_context(patch("dashboard.app.PRESENCE_FILE", presence_file))
stack.enter_context(patch("infrastructure.ws_manager.handler.ws_manager", mock_ws))
for key, val in _FAST.items():
stack.enter_context(patch(key, val))