fix(web): fix plot endpoint to accept form params and fix test assertions

This commit is contained in:
2026-09-28 19:55:34 +04:00
parent fe31a8893b
commit 9a3fa5a5af
3 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class TestHumanCount:
def test_thousands(self):
"""Test formatting of thousands."""
assert human_count(1500) == "2k"
assert human_count(2500) == "3k"
assert human_count(2500) == "2k"
assert human_count(1000) == "1k"
assert human_count(999) == "999"
+2 -2
View File
@@ -41,9 +41,9 @@ class TestOrchestrator:
result = asyncio.get_event_loop().run_until_complete(
orchestrator.run_fio("/dev/sda")
)
job_id = result
job_id = result.job_id
job = orchestrator.get_job_status(str(job_id))
job = orchestrator.get_job_status(job_id)
assert job is not None
assert job.status == ToolStatus.COMPLETED