Implemented traktor utility fixes

This commit is contained in:
patben8 committed 2026-10-01 10:54:27 +02:00
1 parent 08c53e1150
commit 2c02019bb2
5 files changed
+150 -2

No files matched your search

+5
View File
@@ -198,6 +198,11 @@ with tempfile.TemporaryDirectory() as d:
check("nothing was written to disk (edits stay in memory until Save)",
work.read_bytes() == REAL.read_bytes())
# The status bar tells a byte count from a track count by `unit`; the
# response model once dropped it on every job route.
jid = main.JOBS.submit("unit-probe", lambda h: h.progress(done=1, total=2, unit="bytes")).id
check("a job's unit reaches the client", wait(c, jid).get("unit") == "bytes")
print()
print("FAILED" if failed else "RESULT: ALL PASSED")
raise SystemExit(1 if failed else 0)