mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-21 16:35:07 +00:00
test(core): skip download integration tests when ffprobe is absent
This commit is contained in:
@@ -10,6 +10,7 @@ asserts the stale directory is wiped rather than mixed into the new download.
|
||||
from __future__ import annotations
|
||||
|
||||
import importlib
|
||||
import shutil
|
||||
import threading
|
||||
from functools import partial
|
||||
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
||||
@@ -22,6 +23,8 @@ from unshackle.core.manifests import DASH
|
||||
from unshackle.core.tracks import resume
|
||||
from unshackle.core.tracks.track import DownloadContext
|
||||
|
||||
pytestmark = pytest.mark.skipif(shutil.which("ffprobe") is None, reason="requires ffprobe")
|
||||
|
||||
INIT = bytes(range(100))
|
||||
PART0 = bytes([0xA0]) * 300
|
||||
PART1 = bytes([0xB1]) * 200
|
||||
|
||||
Reference in New Issue
Block a user