mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 04:06:33 +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:
parent
fcb3e2eb55
commit
12c951f62d
@ -339,9 +339,6 @@ async def coresys(
|
|||||||
coresys_obj._machine = "qemux86-64"
|
coresys_obj._machine = "qemux86-64"
|
||||||
coresys_obj._machine_id = uuid4()
|
coresys_obj._machine_id = uuid4()
|
||||||
|
|
||||||
# Load resolution center
|
|
||||||
await coresys_obj.resolution.load()
|
|
||||||
|
|
||||||
# Mock host communication
|
# Mock host communication
|
||||||
with (
|
with (
|
||||||
patch("supervisor.dbus.manager.MessageBus") as message_bus,
|
patch("supervisor.dbus.manager.MessageBus") as message_bus,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user