aboutsummaryrefslogtreecommitdiff
path: root/test/helper.py
AgeCommit message (Collapse)Author
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
2014-03-17[test] Rename get_testcases to gettestcasesPhilipp Hagemeister
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
2013-11-25[tests] Remove global_setup functionPhilipp Hagemeister
2013-10-28[tests] don't fail on network errorsFilippo Valsorda
This is suboptimal, but at least this way we will need to look at the logs only to check for network errors that happen too often, instead of parsing a ton of lines each time to see if there is some true test failing
2013-10-18Extend #980 with --max-quality supportPhilipp Hagemeister
2013-10-15Simplify testsPhilipp Hagemeister
* Make them directly executable again * Move common stuff (md5, parameters) to helper * Never import * * General clean up
2013-10-07Simplify test setupPhilipp Hagemeister