metube/app/tests
TonyBlu 6d890021a6 feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI
P1 fixes:
- _subtitle_lang_list now extracts base language from qualified tags
  (e.g. zh-Hans → zh base) so regional variants are still added as
  fallbacks. Original input is preserved as first priority.
- DownloadInfo.__init__ now explicitly initializes filename=None and
  chapter_files=[] to avoid AttributeError on dynamic attribute access.
- __setstate__ adds filename=None migration for old persistent data.
- Frontend Download interface gains subtitle_files field; completed
  downloads show each subtitle file with download link and CC icon.

P2 improvements:
- _LANGUAGE_REGION_VARIANTS expanded from 10 to 30 languages covering
  it/ja/ko/hi/th/vi/id/pl/uk/ru/cs/sv/da/no/fi/tr/el/he/hu/bn/ta.
- Languages with no regional variants use empty tuple (they still get
  -orig suffix when include_orig=True).
2026-05-25 21:48:27 +08:00
..
conftest.py Fix browser path in test environment setup to reflect project name change 2026-05-01 13:31:59 +08:00
test_api.py Add auto download and pause resume controls 2026-05-25 16:28:15 +08:00
test_config.py fix PUBLIC_HOST_URL without a trailing slash (closes #959) 2026-04-16 22:08:08 +03:00
test_dl_formats.py feat(captions): P1/P2 improvements - region variant fallback, DownloadInfo init, subtitle_files UI 2026-05-25 21:48:27 +08:00
test_download_queue.py Add auto download and pause resume controls 2026-05-25 16:28:15 +08:00
test_main_helpers.py implement time-clipped downloads (closes #969, replaces #907) 2026-04-26 23:07:50 +03:00
test_persistent_queue.py add subscriptions; change persistence file format to JSON (closes #901, #76, #113, #170, #242, #444, #503, #555, #566) 2026-04-01 14:33:24 +03:00
test_state_store.py add subscriptions; change persistence file format to JSON (closes #901, #76, #113, #170, #242, #444, #503, #555, #566) 2026-04-01 14:33:24 +03:00
test_subscriptions.py allow filtering out members-only videos in subscriptions (closes #971) 2026-04-28 22:02:05 +03:00
test_ytdl_utils.py fix: Fixed audio file suffix when quality is 'best' and minor UI fixes 2026-05-07 07:25:54 +08:00