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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user