aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_download.py
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [tests] don't fail on network errorsFilippo Valsorda2013-10-281-5/+17
| | | | | | 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
* tests: build the filename from the info_dict if the 'file' key is missingJaime Marquínez Ferrándiz2013-10-281-16/+23
| | | | It will need to have the 'id' and 'ext' keys to work.
* Simplify testsPhilipp Hagemeister2013-10-151-20/+18
| | | | | | | * Make them directly executable again * Move common stuff (md5, parameters) to helper * Never import * * General clean up
* Add support for single-test tox runsFilippo Valsorda2013-10-121-2/+2
| | | | | | Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
* Simplify test setupPhilipp Hagemeister2013-10-071-8/+1
|
* Move try_rm to test helpersPhilipp Hagemeister2013-10-061-16/+7
|
* Also print the field that fails if it is a md5 checksumJaime Marquínez Ferrándiz2013-08-291-4/+3
|
* Print which IE is being skipped in test_downloadJaime Marquínez Ferrándiz2013-06-281-3/+5
|
* Add function add_default_info_extractors to YoutubeDLJaime Marquínez Ferrándiz2013-06-271-3/+1
| | | | It adds to the list the ies returned by ge_extractors
* Move testcase generator to helperPhilipp Hagemeister2013-06-271-12/+2
|
* Use str every timePhilipp Hagemeister2013-06-271-1/+1
|
* Allow _TESTS attribute for IEs with multiple testsPhilipp Hagemeister2013-06-271-3/+9
| | | | This also improves the numbering of duplicate tests
* Allow moving tests into IE filesPhilipp Hagemeister2013-06-271-0/+7
| | | | | Allow adding download tests right in the IE file. This will cut down on merge conflicts and make it more likely that new IE authors will add tests right away.
* add tests for use_cipher_signature videos (#897) and the ability to test ↵Filippo Valsorda2013-06-251-1/+3
| | | | multiple videos per IE
* Split FileDownloader in two classes: FileDownloader and YoutubeDLJaime Marquínez Ferrándiz2013-06-241-8/+8
| | | | | YoutubeDL is the class that coordinates everything FileDownloader gets a filename and an info dict and downloads the video.
* Correct module namePhilipp Hagemeister2013-06-231-3/+3
|
* Remove mentions of old InfoExtractors modulePhilipp Hagemeister2013-06-231-3/+3
|