aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
AgeCommit message (Collapse)Author
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
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-28tests: build the filename from the info_dict if the 'file' key is missingJaime Marquínez Ferrándiz
It will need to have the 'id' and 'ext' keys to work.
2013-10-15Simplify testsPhilipp Hagemeister
* Make them directly executable again * Move common stuff (md5, parameters) to helper * Never import * * General clean up
2013-10-12Add support for single-test tox runsFilippo Valsorda
Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
2013-10-07Simplify test setupPhilipp Hagemeister
2013-10-06Move try_rm to test helpersPhilipp Hagemeister
2013-08-29Also print the field that fails if it is a md5 checksumJaime Marquínez Ferrándiz
2013-06-28Print which IE is being skipped in test_downloadJaime Marquínez Ferrándiz
2013-06-27Add function add_default_info_extractors to YoutubeDLJaime Marquínez Ferrándiz
It adds to the list the ies returned by ge_extractors
2013-06-27Move testcase generator to helperPhilipp Hagemeister
2013-06-27Use str every timePhilipp Hagemeister
2013-06-27Allow _TESTS attribute for IEs with multiple testsPhilipp Hagemeister
This also improves the numbering of duplicate tests
2013-06-27Allow moving tests into IE filesPhilipp Hagemeister
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.
2013-06-25add tests for use_cipher_signature videos (#897) and the ability to test ↵Filippo Valsorda
multiple videos per IE
2013-06-24Split FileDownloader in two classes: FileDownloader and YoutubeDLJaime Marquínez Ferrándiz
YoutubeDL is the class that coordinates everything FileDownloader gets a filename and an info dict and downloads the video.
2013-06-23Correct module namePhilipp Hagemeister
2013-06-23Remove mentions of old InfoExtractors modulePhilipp Hagemeister
2013-06-23Improve error reporting for downloadsPhilipp Hagemeister
2013-06-23Improvge error reportingPhilipp Hagemeister
2013-06-09switch long info_dict fields checking to md5Filippo Valsorda
2013-06-09test: extend the reach of info_dict checkingFilippo Valsorda
* print the info_dict in a format suitable to easy adding to tests.json during tests if un-tested fields are detected * make it possible to put the crc32 in tests.json if the field is too long * complete the "info_dict" fields in existing tests * fixed the bugs catched doing this
2013-06-07raise exceptions on warnings during tests - and solve a couple of themFilippo Valsorda
2013-06-06print WARNINGs during test + minor fix to NBAIEFilippo Valsorda
2013-04-30Remove a commented line I forgot.Jaime Marquínez Ferrándiz
[ci skip]
2013-04-20Create a function in InfoExtractors that returns the InfoExtractor class ↵Jaime Marquínez Ferrándiz
with the given name
2013-04-11Show whole diff in error casesPhilipp Hagemeister
2013-03-31retry on UnavailableVideoErrorFilippo Valsorda
2013-03-31import all IEs when testing to resemble more closely the real envFilippo Valsorda
2013-03-09Bubble up all the stack of exceptions and retry download tests on timeout errorsFilippo Valsorda
2013-02-01Switch ComedyCentral test to a permanent URL (They delete full episodes ↵Philipp Hagemeister
older than a month)
2013-01-25Drop md5: spec for now (unused and breaks int values)Philipp Hagemeister