aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
AgeCommit message (Collapse)Author
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
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.