summaryrefslogtreecommitdiffstats
path: root/test/test_download.py
Commit message (Collapse)AuthorAgeFilesLines
* [test_download] Fix download tests for lazy extractors (closes #13554, ↵squibbysquibby2018-01-211-2/+2
| | | | closes #13757)
* [test_download] Fix order when testing file's md5Tithen-Firion2017-04-271-1/+1
|
* [test_download] Fix testing playlists with single video and add commentsSergey M․2017-04-111-2/+10
|
* [test_download] Remove unused importSergey M․2017-04-081-1/+0
|
* [test_download] Match info dicts against tests before matching info fileSergey M․2017-04-081-2/+3
|
* [test_download] typo in commentJohn Hawkinson2017-04-081-1/+1
|
* [test_download] Improve diagnostic on wrong 'id'John Hawkinson2017-04-081-0/+2
|
* [test_download] Print additional IEs in summary outputJohn Hawkinson2017-03-251-0/+14
|
* [travis] Run tests in parallelYen Chi Hsuan2017-02-191-3/+8
| | | | | | | | | | | | [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
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+2
| | | | | | | | | | 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
* [test/test_download] Use extract_flat = 'in_playlist' for playlist itemsJaime Marquínez Ferrándiz2015-10-231-1/+1
| | | | Some playlist extractors return a 'url' result, which wouldn't be resolved.
* [test_downloader] Respect --force-generic-extractorSergey M․2015-08-021-1/+3
|
* [tests] Allow multi_video to be tested as playlistsYen Chi Hsuan2015-04-191-1/+1
|
* [test_download] Remove references to "file" in test definitionsPhilipp Hagemeister2015-02-011-2/+2
|
* expect_info_dict actual-expected argument consistencySergey M․2014-12-261-2/+2
|
* [tests] Remove useless u prefixesPhilipp Hagemeister2014-11-261-2/+2
|
* PEP8 appliedJouke Waleson2014-11-231-2/+11
|
* [tests] ModernizePhilipp Hagemeister2014-11-161-2/+4
|
* [tests] Don't auto init YoutubeDLJaime Marquínez Ferrándiz2014-11-021-1/+1
| | | | | 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.
* [test_download] Fix importPhilipp Hagemeister2014-11-021-1/+3
|
* [test_download] Improve error messagePhilipp Hagemeister2014-10-271-1/+3
|
* [generic] Add a test case for direct links with broken HEAD (#4032)Philipp Hagemeister2014-10-261-0/+2
|
* [vimeo:likes] Add new extractor (Fixes #3835)Philipp Hagemeister2014-09-281-1/+3
|
* [test_download] Check expected file minsize and md5 only when download is ↵Sergey M․2014-08-291-13/+13
| | | | not skipped
* [test_download] Expect a minimum file sizePhilipp Hagemeister2014-08-281-0/+11
| | | | This should detect when we're downloading a small text file by accident.
* Move playlist tests to extractors.Philipp Hagemeister2014-08-281-2/+3
| | | | 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).
* [test_download] Improve playlist handlingPhilipp Hagemeister2014-08-271-3/+18
|
* [generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister2014-08-251-1/+3
|
* [googlesearch] Move test to extractorPhilipp Hagemeister2014-08-251-0/+5
|
* Allow playlist test definitions in test_download.Philipp Hagemeister2014-08-211-5/+27
| | | | | 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.
* Remove unused importsPhilipp Hagemeister2014-07-231-2/+0
|
* [instagram] Add support for user profiles (Fixes #2606)Philipp Hagemeister2014-03-231-19/+0
|
* [test] Move expect_info_dict out of test_downloadPhilipp Hagemeister2014-03-231-23/+5
|
* Make missing test definition fields an errorPhilipp Hagemeister2014-03-221-2/+7
| | | | 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:')
* [test] Rename get_testcases to gettestcasesPhilipp Hagemeister2014-03-171-2/+2
| | | | Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
* Rename upload_timestamp to timestampPhilipp Hagemeister2014-03-131-1/+1
|
* [test_download] Move assertions before debugging outputPhilipp Hagemeister2014-03-131-7/+7
|
* [ninegag] Fix extractionPhilipp Hagemeister2014-03-131-0/+4
|
* [tests] Raise an exception if test definition is invalid (Found in #2460)Philipp Hagemeister2014-02-261-3/+1
|
* [trutube] Support multiple formats (#2433)Philipp Hagemeister2014-02-221-5/+15
|
* [test_download] Skip over BadStatusLine errorsPhilipp Hagemeister2014-02-061-1/+2
| | | | An error like https://travis-ci.org/rg3/youtube-dl/jobs/18317799#L449 is almost certainly the server's fault.
* [everyonesmixtape] Add support (Fixes #2161)Philipp Hagemeister2014-01-171-1/+1
|
* YoutubeDL: rename `_fd_progress_hooks` back to `_progress_hooks`Jaime Marquínez Ferrándiz2013-12-231-1/+1
| | | | In the future it may report more things.
* Now a new FileDownloader is created when downloading a videoJaime Marquínez Ferrándiz2013-12-111-1/+1
| | | | The progress hooks can be added using the method "add_downloader_progress_hook"
* [tests] Remove global_setup functionPhilipp Hagemeister2013-11-251-2/+0
|
* Adapt test to changed .info.json namePhilipp Hagemeister2013-11-201-3/+4
|
* tests: don't run the test if any of the extractors listed in the 'add_ie' ↵Jaime Marquínez Ferrándiz2013-11-061-1/+7
| | | | field is marked as not working
* Set the 'extractor_key' field in the info_dictJaime Marquínez Ferrándiz2013-11-031-1/+1
| | | | It's the string returned by the class method 'ie_key', which allows to retrieve the extractor with 'get_info_extractor'
* Add the 'webpage_url' field to info_dictJaime Marquínez Ferrándiz2013-11-031-0/+3
| | | | | The url for the video page, it must allow to reproduce the result. It's automatically set by YoutubeDL if it's missing.
* [tests] a HTTP 503 is a transient issueFilippo Valsorda2013-10-281-1/+2
|