Skip to content

Commit

Permalink
Fix log text check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Jun 20, 2024
1 parent 5fa96be commit 9cddbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/misc/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def test_watchdog_homeassistant_api(
restart.assert_called_once()
assert "Watchdog missed an Home Assistant Core API response." not in caplog.text
assert (
"Watchdog missed 2 Home Assistant Core API responses in a row. Restarting Home Assistant Core API!"
"Watchdog missed 2 Home Assistant Core API responses in a row. Restarting Home Assistant Core!"
in caplog.text
)

Expand Down

0 comments on commit 9cddbd7

Please sign in to comment.