aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
AgeCommit message (Collapse)Author
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
2013-01-12Download progress hooksPhilipp Hagemeister
2013-01-12Aggressive test timeout to catch hanging serversPhilipp Hagemeister
2013-01-01Remove .part files before and after testsPhilipp Hagemeister
2013-01-01add test for infoqPhilipp Hagemeister
2013-01-01Simplify test parameter initializationPhilipp Hagemeister
2013-01-01Adapt test_download to support playlists, and remove race conditionsPhilipp Hagemeister
2013-01-01Revert "In tests.json file and md5 join in a 'files' list to handle ↵Philipp Hagemeister
multiple-file IEs" This made the JSON structure really unreadable and was a quick fix. This reverts commit 6535e9511fc18eee2fc640c77fd42a4a39791915.
2013-01-01typoPhilipp Hagemeister
2013-01-01In tests.json file and md5 join in a 'files' list to handle multiple-file IEsFilippo Valsorda
2012-12-20better Vimeo tests; fixed a couple of VimeoIE fieldsFilippo Valsorda
2012-12-20add info_dict testing to test_downloadFilippo Valsorda
2012-12-12Revert "Don't be too clever"Philipp Hagemeister
This reverts commit a276e060806c6cabc76b9df964db67939b643e43.
2012-12-12Don't be too cleverPhilipp Hagemeister
2012-12-12streamlined and simplified dynamic tests generation; readded a couple of ↵Filippo Valsorda
test features
2012-12-12test automationgcmalloc
2012-12-11use the new --test option to speed up tests (fetch only first 10K)Filippo Valsorda
now all tests working and passing
2012-12-07SoundCloud IDs have changed, fix testsPhilipp Hagemeister
2012-12-03Correct metacafe test filename (happens to start with an underscore)Philipp Hagemeister
2012-11-30Add test for Youku (Mentioned in #314)Philipp Hagemeister