aboutsummaryrefslogtreecommitdiff
path: root/test/helper.py
AgeCommit message (Collapse)Author
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
2015-02-18[test/helper] Render info_dict with a final commaPhilipp Hagemeister
2015-02-18[test/helper] Only output a newline for forgotten keys if keys are really ↵Philipp Hagemeister
missing
2015-02-03[franceculture] Rewrite for new HTML scheme (Fixes #4853)Philipp Hagemeister
2015-01-30[test/helper] Clarify which keys have to be addedPhilipp Hagemeister
2015-01-25[audiomack:album] Update testcasePhilipp Hagemeister
2015-01-09[netzkino] Add new extractor (Fixes #4669)Philipp Hagemeister
2015-01-07Respect age_limit when listing extractors (Fixes #4653)Philipp Hagemeister
2014-12-26expect_info_dict actual-expected argument consistencySergey M․
2014-12-12[test_unicode_literals] Fix testPhilipp Hagemeister
2014-11-26[test/helper] Fix newlines in output of missing test fieldsPhilipp Hagemeister
2014-11-23PEP8: applied even more rulesJouke Waleson
2014-11-23PEP8 appliedJouke Waleson
2014-11-13[test/helper] Improve outputPhilipp Hagemeister
2014-11-02[tests] Don't auto init YoutubeDLJaime Marquínez Ferrándiz
It would print the debug headers for each test. And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
2014-10-26[generic] Add a test case for direct links with broken HEAD (#4032)Philipp Hagemeister
2014-10-25[viddler] Use APIPhilipp Hagemeister
2014-09-29[test/helper] Improve output of missing test definition dictionariesPhilipp Hagemeister
2014-09-29[test/helper] ModernizePhilipp Hagemeister
2014-08-28Move playlist tests to extractors.Philipp Hagemeister
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
2014-08-25[generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister
2014-08-21Allow playlist test definitions in test_download.Philipp Hagemeister
This moves playlist tests where they belong, i.e. to the extractors themselves. Additionally, all our network interaction configuration for tests in test_download now applies to playlist tests as well.
2014-07-23[test/helper] Do not use deprecated methodPhilipp Hagemeister
2014-07-21[test_playlist] Add and use assertGreaterEqualPhilipp Hagemeister
2014-05-13[test/helper] Clarify which field failed an assertionPhilipp Hagemeister
2014-04-30[YoutubeDL] Add simple tests for format_note (Closes #2825)Philipp Hagemeister
2014-04-21[test helper] Correct only_matching test gatheringPhilipp Hagemeister
2014-04-19[test_all_urls] Add support for distributed URL matching test definitionPhilipp Hagemeister
2014-03-23[instagram] Add support for user profiles (Fixes #2606)Philipp Hagemeister
2014-03-23[test] Move expect_info_dict out of test_downloadPhilipp Hagemeister