Skip to content

Commit 6478c4f

Browse files
authored
Disable the watchdog task until a stable solution is found (#172)
1 parent 8314dcd commit 6478c4f

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

tests/test_application.py

-8
Original file line numberDiff line numberDiff line change
@@ -866,11 +866,3 @@ async def test_routes_updated(app, device):
866866
assert router2.radio_details.call_count == 0
867867

868868
app._api._at_command.assert_awaited_once_with("DB")
869-
870-
871-
async def test_watchdog(app):
872-
"""Test watchdog feed method."""
873-
app._api._at_command = mock.AsyncMock(return_value="OK")
874-
await app._watchdog_feed()
875-
876-
assert app._api._at_command.mock_calls == [mock.call("VR")]

zigpy_xbee/zigbee/application.py

-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ def __init__(self, config: dict[str, Any]):
5151
self._api: zigpy_xbee.api.XBee | None = None
5252
self.topology.add_listener(self)
5353

54-
async def _watchdog_feed(self):
55-
await self._api._at_command("VR")
56-
5754
async def disconnect(self):
5855
"""Shutdown application."""
5956
if self._api:

0 commit comments

Comments
 (0)