mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 02:49:43 +00:00
Add share to docker config issue (#4322)
This commit is contained in:
@@ -126,8 +126,20 @@ def test_addon_map_folder_defaults(
|
||||
in docker_addon.mounts
|
||||
)
|
||||
|
||||
# Share not mapped
|
||||
assert "/share" not in [mount["Target"] for mount in docker_addon.mounts]
|
||||
# Share added and propagation set
|
||||
assert (
|
||||
Mount(
|
||||
type="bind",
|
||||
source=coresys.config.path_extern_share.as_posix(),
|
||||
target="/share",
|
||||
read_only=True,
|
||||
propagation="slave",
|
||||
)
|
||||
in docker_addon.mounts
|
||||
)
|
||||
|
||||
# Backup not added
|
||||
assert "/backup" not in [mount["Target"] for mount in docker_addon.mounts]
|
||||
|
||||
|
||||
def test_journald_addon(
|
||||
|
||||
Reference in New Issue
Block a user