mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +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.state == "5"
|
||||||
assert state.attributes["value"] == 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(
|
async def test_engine_is_disposed_at_stop(
|
||||||
recorder_mock: Recorder, hass: HomeAssistant
|
recorder_mock: Recorder, hass: HomeAssistant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user