mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Requiring status worker for status test.
This commit is contained in:
parent
5820b86480
commit
bda63ab244
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue