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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user