Skip to content

Commit

Permalink
Ensure unit tests reflect commands that are now sent
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Dec 13, 2023
1 parent 3ebc0ac commit 04c51ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ async def test_reset_watchdog(app):
app._api.write_parameter = AsyncMock()

await app._watchdog_feed()
assert len(app._api.get_device_state.mock_calls) == 1
assert len(app._api.get_device_state.mock_calls) == 0
assert len(app._api.write_parameter.mock_calls) == 1

app._api.protocol_version = application.PROTO_VER_WATCHDOG - 1
Expand Down

0 comments on commit 04c51ec

Please sign in to comment.