1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-05-08 08:58:31 +01:00

Fix pytests to make them run in isolation (#5878)

This commit is contained in:
Stefan Agner
2025-05-12 12:37:09 +02:00
committed by GitHub
parent ff849ce692
commit b9bbb99f37
10 changed files with 56 additions and 17 deletions
@@ -58,7 +58,7 @@ async def test_check(coresys: CoreSys):
assert coresys.resolution.suggestions[-1].reference == addon.slug
async def test_approve(coresys: CoreSys):
async def test_approve(coresys: CoreSys, supervisor_internet):
"""Test check."""
addon_pwned = CheckAddonPwned(coresys)
await coresys.core.set_state(CoreState.RUNNING)