mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 17:23:05 +02:00
Pause autofetch during poll loop
This commit is contained in:
@@ -843,6 +843,8 @@ def _make_connected_manager() -> tuple[RadioManager, MagicMock]:
|
||||
rm = RadioManager()
|
||||
mock_mc = MagicMock(name="lock_scoped_mc")
|
||||
mock_mc.is_connected = True
|
||||
mock_mc.stop_auto_message_fetching = AsyncMock()
|
||||
mock_mc.start_auto_message_fetching = AsyncMock()
|
||||
rm._meshcore = mock_mc
|
||||
return rm, mock_mc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user