Fix flaky tests when CI did not have access to /run/supervisor (#3054)

This commit is contained in:
Joakim Sørensen 2021-08-09 19:26:37 +02:00 committed by GitHub
parent 97599b3e70
commit 81e7fac848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ async def network_manager(dbus) -> NetworkManager:
@pytest.fixture
async def coresys(loop, docker, network_manager, aiohttp_client) -> CoreSys:
async def coresys(loop, docker, network_manager, aiohttp_client, run_dir) -> CoreSys:
"""Create a CoreSys Mock."""
with patch("supervisor.bootstrap.initialize_system"), patch(
"supervisor.bootstrap.setup_diagnostics"