1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Fix bind mounting and remove on create failure (#4274)

* Fix bind mounting and remove on create failure

* Fix test and make update fully fail on dbus error
This commit is contained in:
Mike Degatano
2023-05-02 02:33:01 -04:00
committed by GitHub
parent 61202db8b2
commit 7688e1b9cb
7 changed files with 262 additions and 21 deletions

View File

@@ -377,6 +377,8 @@ async def test_backup_media_with_mounts(
"/org/freedesktop/systemd1/unit/tmp_2dyellow_2emount",
DBusError("org.freedesktop.systemd1.NoSuchUnit", "error"),
"/org/freedesktop/systemd1/unit/tmp_2dyellow_2emount",
"/org/freedesktop/systemd1/unit/tmp_2dyellow_2emount",
"/org/freedesktop/systemd1/unit/tmp_2dyellow_2emount",
]
# Make some normal test files