forked from Rockachopa/Timmy-time-dashboard
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user