1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-15 07:27:13 +00:00

Fix tests in devcontainer by removing resolution center (#5702)

Since #5696 we don't need to load the resolution center early. In fact,
with #5686 this is even problematic for pytests in devcontainer, since
the Supervisor Core state is valid and this causes AppArmor evaluations
to run (and fail).

Actually, #5696 removed the resolution center. #5686 brought it
accidentally back. This was seemingly a merge error.
This commit is contained in:
Stefan Agner
2025-03-01 16:00:49 +01:00
committed by GitHub
parent fcb3e2eb55
commit 12c951f62d

View File

@@ -339,9 +339,6 @@ async def coresys(
coresys_obj._machine = "qemux86-64"
coresys_obj._machine_id = uuid4()
# Load resolution center
await coresys_obj.resolution.load()
# Mock host communication
with (
patch("supervisor.dbus.manager.MessageBus") as message_bus,