Skip to content

Commit

Permalink
Ensure shutdown of test
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Nov 22, 2023
1 parent 55b8b89 commit 59cfe53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ async def test_history_disabled(hass: ha.HomeAssistant, allow_memory_db):
# pylint: disable=protected-access

async with IUExam(hass, "test_history_disabled.yaml") as exam:

await exam.load_dependencies()

with patch(
Expand Down Expand Up @@ -675,3 +674,4 @@ def service_history(entity_ids: set[str]) -> None:
}
finally:
exam.coordinator.history._callback = callback_save
exam.coordinator.history.finalise()

0 comments on commit 59cfe53

Please sign in to comment.