aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
AgeCommit message (Collapse)Author
2018-01-21[test_download] Fix download tests for lazy extractors (closes #13554, ↵squibbysquibby
closes #13757)
2017-04-27[test_download] Fix order when testing file's md5Tithen-Firion
2017-04-11[test_download] Fix testing playlists with single video and add commentsSergey M․
2017-04-08[test_download] Remove unused importSergey M․
2017-04-08[test_download] Match info dicts against tests before matching info fileSergey M․
2017-04-08[test_download] typo in commentJohn Hawkinson
2017-04-08[test_download] Improve diagnostic on wrong 'id'John Hawkinson
2017-03-25[test_download] Print additional IEs in summary outputJohn Hawkinson
2017-02-19[travis] Run tests in parallelYen Chi Hsuan
[test_download] Print test names in case of network errors [test_download] Add comments for nose parameters [test_download] Modify outtmpl to prevent info JSON filename conflicts Thanks @jaimeMF for the idea. [travis] Only download tests should be run in parallel
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
2015-10-23[test/test_download] Use extract_flat = 'in_playlist' for playlist itemsJaime Marquínez Ferrándiz
Some playlist extractors return a 'url' result, which wouldn't be resolved.
2015-08-02[test_downloader] Respect --force-generic-extractorSergey M․
2015-04-19[tests] Allow multi_video to be tested as playlistsYen Chi Hsuan
2015-02-01[test_download] Remove references to "file" in test definitionsPhilipp Hagemeister
2014-12-26expect_info_dict actual-expected argument consistencySergey M․
2014-11-26[tests] Remove useless u prefixesPhilipp Hagemeister
2014-11-23PEP8 appliedJouke Waleson
2014-11-16[tests] ModernizePhilipp 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-11-02[test_download] Fix importPhilipp Hagemeister
2014-10-27[test_download] Improve error messagePhilipp Hagemeister
2014-10-26[generic] Add a test case for direct links with broken HEAD (#4032)Philipp Hagemeister
2014-09-28[vimeo:likes] Add new extractor (Fixes #3835)Philipp Hagemeister
2014-08-29[test_download] Check expected file minsize and md5 only when download is ↵Sergey M․
not skipped
2014-08-28[test_download] Expect a minimum file sizePhilipp Hagemeister
This should detect when we're downloading a small text file by accident.
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-27[test_download] Improve playlist handlingPhilipp Hagemeister
2014-08-25[generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister
2014-08-25[googlesearch] 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-23Remove unused importsPhilipp 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-22Make missing test definition fields an errorPhilipp Hagemeister
If the result is not testable (for example, because a description changes often), either pass in a type or a regular expression (a string starting with 're:')
2014-03-17[test] Rename get_testcases to gettestcasesPhilipp Hagemeister
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
2014-03-13Rename upload_timestamp to timestampPhilipp Hagemeister
2014-03-13[test_download] Move assertions before debugging outputPhilipp Hagemeister
2014-03-13[ninegag] Fix extractionPhilipp Hagemeister
2014-02-26[tests] Raise an exception if test definition is invalid (Found in #2460)Philipp Hagemeister
2014-02-22[trutube] Support multiple formats (#2433)Philipp Hagemeister
2014-02-06[test_download] Skip over BadStatusLine errorsPhilipp Hagemeister
An error like https://travis-ci.org/rg3/youtube-dl/jobs/18317799#L449 is almost certainly the server's fault.
2014-01-17[everyonesmixtape] Add support (Fixes #2161)Philipp Hagemeister
2013-12-23YoutubeDL: rename `_fd_progress_hooks` back to `_progress_hooks`Jaime Marquínez Ferrándiz
In the future it may report more things.
2013-12-11Now a new FileDownloader is created when downloading a videoJaime Marquínez Ferrándiz
The progress hooks can be added using the method "add_downloader_progress_hook"
2013-11-25[tests] Remove global_setup functionPhilipp Hagemeister
2013-11-20Adapt test to changed .info.json namePhilipp Hagemeister
2013-11-06tests: don't run the test if any of the extractors listed in the 'add_ie' ↵Jaime Marquínez Ferrándiz
field is marked as not working
2013-11-03Set the 'extractor_key' field in the info_dictJaime Marquínez Ferrándiz
It's the string returned by the class method 'ie_key', which allows to retrieve the extractor with 'get_info_extractor'
2013-11-03Add the 'webpage_url' field to info_dictJaime Marquínez Ferrándiz
The url for the video page, it must allow to reproduce the result. It's automatically set by YoutubeDL if it's missing.
2013-10-28[tests] a HTTP 503 is a transient issueFilippo Valsorda