mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Fix sql test warning (#99556)
This commit is contained in:
parent
115518cab9
commit
735b5cf1a0
@ -502,6 +502,9 @@ async def test_multiple_sensors_using_same_db(
|
||||
assert state.state == "5"
|
||||
assert state.attributes["value"] == 5
|
||||
|
||||
with patch("sqlalchemy.engine.base.Engine.dispose"):
|
||||
await hass.async_stop()
|
||||
|
||||
|
||||
async def test_engine_is_disposed_at_stop(
|
||||
recorder_mock: Recorder, hass: HomeAssistant
|
||||
|
Loading…
x
Reference in New Issue
Block a user