mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-24 09:55:12 +00:00
chore(release): promote 661be3ee to main
This commit is contained in:
@@ -12,6 +12,7 @@ import pytest
|
||||
from unshackle.core.api.progress import (
|
||||
DOWNLOAD_PROGRESS_CEILING,
|
||||
build_job_progress_callables,
|
||||
track_log_label,
|
||||
track_progress_label,
|
||||
track_progress_weight,
|
||||
)
|
||||
@@ -48,6 +49,13 @@ def noop(**kwargs):
|
||||
pass
|
||||
|
||||
|
||||
def test_track_log_label_adds_the_track_id():
|
||||
video = Video(2160, "DV")
|
||||
video.id = "592464997"
|
||||
|
||||
assert track_log_label(video) == "video 2160p DV (592464997)"
|
||||
|
||||
|
||||
def test_track_progress_label():
|
||||
assert track_progress_label(Video(2160, "DV")) == "video 2160p DV"
|
||||
assert track_progress_label(Video(1080, "HDR10+")) == "video 1080p HDR10+"
|
||||
|
||||
Reference in New Issue
Block a user