Requiring status worker for status test.

This commit is contained in:
Roland 2025-07-20 16:37:45 -06:00
parent 5820b86480
commit bda63ab244
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -67,7 +67,7 @@ async def test_get_drives_stats(async_client):
@skip_circleci
@pytest.mark.asyncio
async def test_status_worker(async_client):
async def test_status_worker(async_client, start_status_worker):
"""Status worker calls itself perpetually, but can be limited during testing."""
from wrolpi.api_utils import api_app
assert async_client.sanic_app.shared_ctx.status['cpu_stats'] == dict()