Skip to content

Commit 12c951f

Browse files
authored
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.
1 parent fcb3e2e commit 12c951f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,6 @@ async def coresys(
339339
coresys_obj._machine = "qemux86-64"
340340
coresys_obj._machine_id = uuid4()
341341

342-
# Load resolution center
343-
await coresys_obj.resolution.load()
344-
345342
# Mock host communication
346343
with (
347344
patch("supervisor.dbus.manager.MessageBus") as message_bus,

0 commit comments

Comments
 (0)