init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from n_m3u8dl_py.cli import build_parser
|
||||
|
||||
|
||||
def test_cli_accepts_compatibility_options() -> None:
|
||||
args = build_parser().parse_args(
|
||||
[
|
||||
"input.m3u8",
|
||||
"--urlprocessor-args",
|
||||
"token=value",
|
||||
"--no-date-info",
|
||||
"--mp4-real-time-decryption",
|
||||
"--live-fix-vtt-by-audio",
|
||||
]
|
||||
)
|
||||
assert args.urlprocessor_args == "token=value"
|
||||
assert args.no_date_info
|
||||
assert args.mp4_real_time_decryption
|
||||
assert args.live_fix_vtt_by_audio
|
||||
Reference in New Issue
Block a user