mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 10:59:43 +00:00
Revert "Revert Home Assistant configuration to /config" (#4702)
This commit is contained in:
@@ -149,12 +149,12 @@ def test_addon_map_homeassistant_folder(
|
||||
config["map"].append("homeassistant_config")
|
||||
docker_addon = get_docker_addon(coresys, addonsdata_system, config)
|
||||
|
||||
# Home Assistant config folder still mounted to /config
|
||||
# Home Assistant config folder mounted to /homeassistant, not /config
|
||||
assert (
|
||||
Mount(
|
||||
type="bind",
|
||||
source=coresys.config.path_extern_homeassistant.as_posix(),
|
||||
target="/config",
|
||||
target="/homeassistant",
|
||||
read_only=True,
|
||||
)
|
||||
in docker_addon.mounts
|
||||
@@ -194,7 +194,7 @@ def test_addon_map_addon_config_folder(
|
||||
Mount(
|
||||
type="bind",
|
||||
source=docker_addon.addon.path_extern_config.as_posix(),
|
||||
target="/addon_config",
|
||||
target="/config",
|
||||
read_only=True,
|
||||
)
|
||||
in docker_addon.mounts
|
||||
|
||||
Reference in New Issue
Block a user