aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.py
Commit message (Collapse)AuthorAgeFilesLines
* [cleanup] Miscpukkandan2023-05-201-2/+2
| | | | Closes #7030, closes #6967
* [cleanup] MiscRobert Geislinger2022-11-111-8/+5
| | | | | | Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
* [test] Allow `extract_flat` in download testspukkandan2022-11-101-2/+7
| | | | Authored by: coletdjnz, pukkandan
* [cleanup] Lint and misc cleanuppukkandan2022-11-071-2/+2
|
* [extractor, test] Basic framework for embed tests (#4307)pukkandan2022-08-021-0/+7
| | | | | | and split download tests so they can be more easily run in CI Authored by: coletdjnz
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-14/+14
|
* [test] Fix `FakeYDL` signaturespukkandan2022-06-211-7/+7
| | | | Authored by: coletdjnz
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-1/+1
| | | | | | | | | | * [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
* [cleanup] Sort importspukkandan2022-04-121-10/+3
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-28/+20
| | | | | | | | | | 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
* [cleanup] Remove unused code paths (#2173)felix2022-04-121-1/+1
| | | | | | | | | | | | | | | | | | | 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
* Ignore format-specific fields in initial pass of `--match-filter`pukkandan2022-03-251-9/+1
| | | | Closes #3074
* [docs,cleanup] Fix linter and misc cleanuppukkandan2022-01-241-1/+1
| | | | Closes #2419
* [cleanup] Minor fixespukkandan2022-01-211-1/+1
| | | | Closes #2334
* [youtube] Update testspukkandan2022-01-071-0/+4
|
* [KelbyOne] Add extractor (#2181)Ashish Gupta2022-01-011-1/+1
| | | | | Closes #2170 Authored by: Ashish0804
* [test/download] Split `sanitize_got_info_dict` into a separate functionpukkandan2021-12-191-19/+25
| | | | so that it can be used by third party scripts
* [test/download] Ignore field `webpage_url_domain` (#2014)std-move2021-12-161-1/+1
| | | Authored by: std-move
* [test/download] Add more fieldspukkandan2021-12-151-4/+41
|
* [cleanup] Misc cleanuppukkandan2021-10-091-3/+3
|
* [test:download] Support testing with `ignore_no_formats_error`pukkandan2021-08-021-1/+4
|
* [test] Use `pytest` instead of `nosetests` (#482)pukkandan2021-07-231-0/+8
| | | | `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
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-5/+5
| | | | | | | | | * 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
* [skip travis] renamingUnknown2020-09-021-5/+5
| | | to avoid using same folder when using pip install for example
* [test/helper] Add support for maxcount and count collection len test checkersSergey M․2019-01-161-4/+30
|
* [extractor/common] Ensure response handle is not prematurely closed before ↵Xiao Di Guan2018-11-031-0/+10
| | | | it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
* [test/test_socks] Add tests for SOCKS proxiesYen Chi Hsuan2016-05-101-0/+5
|
* [test/helper] Check got values to be strings for md5: fieldsYen Chi Hsuan2016-04-091-0/+3
| | | | Seen in PBSIE tests
* [jython] Introduce compat_os_nameYen Chi Hsuan2016-03-031-2/+5
| | | | os.name is always 'java' on Jython
* [test/helper] Fix styleJaime Marquínez Ferrándiz2015-10-021-1/+1
| | | | Use the correct indentation to please flake8
* [test/helper] Clarify field for list length mismatchSergey M․2015-09-301-1/+2
|
* [test/helper] SpellingSergey M․2015-09-301-2/+2
|
* [test/helper] FormattingSergey M․2015-09-301-14/+14
|
* [test] use descriptive variable nameQijiang Fan2015-09-301-8/+6
|
* [test] split expect_dict to two functionsQijiang Fan2015-09-301-73/+70
|
* [test] recursively check dict and list in expect_info_dictQijiang Fan2015-09-301-1/+20
| | | | | This allows to use md5:, re:, etc within the str inside a list or dict.
* [test/helper] Make age_limit checkable fieldSergey M․2015-08-081-1/+1
|
* [test/helper] Allow dicts for mincountSergey M․2015-08-021-2/+2
|
* [tests] Allow multi_video to be tested as playlistsYen Chi Hsuan2015-04-191-1/+1
|
* [xtube] Fix test casePhilipp Hagemeister2015-02-181-0/+10
|
* [test/helper] Render info_dict with a final commaPhilipp Hagemeister2015-02-181-1/+1
|
* [test/helper] Only output a newline for forgotten keys if keys are really ↵Philipp Hagemeister2015-02-181-1/+3
| | | | missing
* [franceculture] Rewrite for new HTML scheme (Fixes #4853)Philipp Hagemeister2015-02-031-0/+10
|
* [test/helper] Clarify which keys have to be addedPhilipp Hagemeister2015-01-301-3/+9
|
* [audiomack:album] Update testcasePhilipp Hagemeister2015-01-251-1/+1
|
* [netzkino] Add new extractor (Fixes #4669)Philipp Hagemeister2015-01-091-0/+14
|
* Respect age_limit when listing extractors (Fixes #4653)Philipp Hagemeister2015-01-071-12/+2
|
* expect_info_dict actual-expected argument consistencySergey M․2014-12-261-1/+1
|
* [test_unicode_literals] Fix testPhilipp Hagemeister2014-12-121-1/+3
|
* [test/helper] Fix newlines in output of missing test fieldsPhilipp Hagemeister2014-11-261-1/+1
|