From 12c951f62dbed66dab15f9ae2f9b5e73265b079b Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sat, 1 Mar 2025 16:00:49 +0100 Subject: [PATCH] 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. --- tests/conftest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 42a54306a..8913e470a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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,