mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-07 08:15:12 +02:00
establish config defaults
This commit is contained in:
1 parent
5d4cba3df3
commit
8e3a7e3920
6 files changed
+38
-13
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user