1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Don't allow hass.config.config_dir to be None (#98442)

This commit is contained in:
Erik Montnemery
2023-08-16 13:00:14 +02:00
committed by GitHub
parent 5ed3e90607
commit 91faa53843
18 changed files with 28 additions and 56 deletions

View File

@@ -552,8 +552,8 @@ async def stop_hass(
created = []
def mock_hass():
hass_inst = orig_hass()
def mock_hass(*args):
hass_inst = orig_hass(*args)
created.append(hass_inst)
return hass_inst