aboutsummaryrefslogtreecommitdiff
path: root/test/helper.py
AgeCommit message (Collapse)Author
2025-04-18[ie/youtube:tab] Extract continuation from empty page (#12938)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/12933 https://github.com/yt-dlp/yt-dlp/issues/8206 Authored by: coletdjnz
2025-02-21[test] Show all differences for `expect_value` and `expect_dict` (#12334)Simon Sawicki
Authored by: Grub4K
2025-02-10[test:download] Validate and sort info dict fields (#12299)Mozi
Authored by: pzhlkj6612, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-11-17[cleanup] Deprecate more compat functions (#11439)sepro
Authored by: seproDev
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-05-11[test] Add HTTP proxy tests (#9578)coletdjnz
Also fixes HTTPS proxies for curl_cffi Authored by: coletdjnz
2024-02-20[ie] Migrate commonly plural fields to lists (#8917)Lev
Authored by: llistochek, pukkandan Related: #3944
2024-01-20[test] Skip source address tests if the address cannot be bound to (#8900)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/8890 Authored by: coletdjnz
2023-11-26[core] Parse `release_year` from `release_date` (#8524)sepro
Closes #7263 Authored by: seproDev
2023-11-20[ie/nebula] Overhaul extractors (#8566)sepro
Closes #4300, Closes #5814, Closes #7588, Closes #6334, Closes #6538 Authored by: elyse0, pukkandan, seproDev Co-authored-by: Elyse <26639800+elyse0@users.noreply.github.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
2023-05-20[cleanup] Miscpukkandan
Closes #7030, closes #6967
2022-11-11[cleanup] MiscRobert Geislinger
Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
2022-11-10[test] Allow `extract_flat` in download testspukkandan
Authored by: coletdjnz, pukkandan
2022-11-07[cleanup] Lint and misc cleanuppukkandan
2022-08-02[extractor, test] Basic framework for embed tests (#4307)pukkandan
and split download tests so they can be more easily run in CI Authored by: coletdjnz
2022-06-25[compat] Remove deprecated functions from core codepukkandan
2022-06-21[test] Fix `FakeYDL` signaturespukkandan
Authored by: coletdjnz
2022-05-09[cleanup] Minor fixes (See desc)pukkandan
* [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-04-12[cleanup] Remove unused code paths (#2173)felix
Notes: * `_windows_write_string`: Fixed in 3.6 * https://bugs.python.org/issue1602 * PEP: https://www.python.org/dev/peps/pep-0528 * Windows UTF-8 fix: Fixed in 3.3 * https://bugs.python.org/issue13216 * `__loader__`: is always present in 3.3+ * https://bugs.python.org/issue14646 * `workaround_optparse_bug9161`: Fixed in 2.7 * https://bugs.python.org/issue9161 Authored by: fstirlitz
2022-03-25Ignore format-specific fields in initial pass of `--match-filter`pukkandan
Closes #3074
2022-01-24[docs,cleanup] Fix linter and misc cleanuppukkandan
Closes #2419
2022-01-21[cleanup] Minor fixespukkandan
Closes #2334
2022-01-07[youtube] Update testspukkandan
2022-01-01[KelbyOne] Add extractor (#2181)Ashish Gupta
Closes #2170 Authored by: Ashish0804
2021-12-19[test/download] Split `sanitize_got_info_dict` into a separate functionpukkandan
so that it can be used by third party scripts
2021-12-16[test/download] Ignore field `webpage_url_domain` (#2014)std-move
Authored by: std-move
2021-12-15[test/download] Add more fieldspukkandan
2021-10-09[cleanup] Misc cleanuppukkandan
2021-08-02[test:download] Support testing with `ignore_no_formats_error`pukkandan
2021-07-23[test] Use `pytest` instead of `nosetests` (#482)pukkandan
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099 and will stop working in py 3.10 as can be seen in #480
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2019-01-16[test/helper] Add support for maxcount and count collection len test checkersSergey M․
2018-11-03[extractor/common] Ensure response handle is not prematurely closed before ↵Xiao Di Guan
it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
2016-05-10[test/test_socks] Add tests for SOCKS proxiesYen Chi Hsuan
2016-04-09[test/helper] Check got values to be strings for md5: fieldsYen Chi Hsuan
Seen in PBSIE tests
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython
2015-10-02[test/helper] Fix styleJaime Marquínez Ferrándiz
Use the correct indentation to please flake8
2015-09-30[test/helper] Clarify field for list length mismatchSergey M․
2015-09-30[test/helper] SpellingSergey M․
2015-09-30[test/helper] FormattingSergey M․
2015-09-30[test] use descriptive variable nameQijiang Fan
2015-09-30[test] split expect_dict to two functionsQijiang Fan
2015-09-30[test] recursively check dict and list in expect_info_dictQijiang Fan
This allows to use md5:, re:, etc within the str inside a list or dict.
2015-08-08[test/helper] Make age_limit checkable fieldSergey M․
2015-08-02[test/helper] Allow dicts for mincountSergey M․
2015-04-19[tests] Allow multi_video to be tested as playlistsYen Chi Hsuan
2015-02-18[xtube] Fix test casePhilipp Hagemeister