Skip to content

Commit

Permalink
Fix tests in devcontainer by removing resolution center (#5702)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
agners authored Mar 1, 2025
1 parent fcb3e2e commit 12c951f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 12c951f

Please sign in to comment.