[BACKEND] Make resolution print debug-level

This commit is contained in:
Jesse Bannon 2025-08-31 19:04:48 -07:00
parent c2afe05c11
commit 9053ac1811
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,8 @@ presets:
"Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. Disable using the override variable `enable_resolution_assert: False`", "Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. Disable using the override variable `enable_resolution_assert: False`",
"Resolution assert is disabled. Use at your own risk!" "Resolution assert is disabled. Use at your own risk!"
), ),
enable_resolution_assert enable_resolution_assert,
-1
) )
} }
resolution_readable: "{width}x{height}" resolution_readable: "{width}x{height}"

View file

@ -237,7 +237,7 @@ class TestResolutionAssert:
"Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. " "Resolution assert is enabled, will fail on low-quality video downloads and presume throttle. "
"Disable using the override variable `enable_resolution_assert: False`" "Disable using the override variable `enable_resolution_assert: False`"
), ),
log_level="info", log_level="debug",
expected_occurrences=1, expected_occurrences=1,
): ):
subscription = Subscription.from_dict( subscription = Subscription.from_dict(