establish config defaults

This commit is contained in:
dark_zoul committed 2026-05-16 16:22:24 +03:00
1 parent 5d4cba3df3
commit 8e3a7e3920
6 files changed
+38 -13

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ from src.app.core.download.downloader import Downloader
def test_build_format_defaults_to_best_mp4():
fmt = Downloader.build_format(None)
assert "height<=" not in fmt
assert "best[ext=mp4]" in fmt
assert "height<=1080" in fmt
assert fmt.endswith("/best[ext=mp4]")
def test_build_format_applies_height_cap():