Commit Graph

114 Commits (c6eed6b8c000672f0515d916dda54002c7fca356)

Author SHA1 Message Date
Philipp Hagemeister 41beccbab0 Use str every time 12 years ago
Philipp Hagemeister 2eb88d953f Allow _TESTS attribute for IEs with multiple tests
This also improves the numbering of duplicate tests
12 years ago
Philipp Hagemeister 6b47c7f24e Allow moving tests into IE files
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.
12 years ago
Filippo Valsorda f7ab6cbe16 add tests for use_cipher_signature videos (#897) and the ability to test multiple videos per IE 12 years ago
Jaime Marquínez Ferrándiz 8222d8de88 Split FileDownloader in two classes: FileDownloader and YoutubeDL
YoutubeDL is the class that coordinates everything
FileDownloader gets a filename and an info dict and downloads the video.
12 years ago
Philipp Hagemeister d1cade5ade Correct module name 12 years ago
Philipp Hagemeister 0824c28c8b Remove mentions of old InfoExtractors module 12 years ago
Philipp Hagemeister 51ce3a75c9 Improve error reporting for downloads 12 years ago
Philipp Hagemeister 828dba2983 Improvge error reporting 12 years ago
Filippo Valsorda ee55fcbe12 switch long info_dict fields checking to md5 12 years ago
Filippo Valsorda 78d3442b12 test: extend the reach of info_dict checking
* 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
12 years ago
Filippo Valsorda be95cac157 raise exceptions on warnings during tests - and solve a couple of them 12 years ago
Filippo Valsorda 476203d025 print WARNINGs during test + minor fix to NBAIE 12 years ago
Jaime Marquínez Ferrándiz ba7c775a04 Remove a commented line I forgot.
[ci skip]
12 years ago
Jaime Marquínez Ferrándiz 9341212642 Create a function in InfoExtractors that returns the InfoExtractor class with the given name 12 years ago
Philipp Hagemeister 744435f2a4 Show whole diff in error cases 12 years ago
Filippo Valsorda 90a99c1b5e retry on UnavailableVideoError 12 years ago
Filippo Valsorda f375d4b7de import all IEs when testing to resemble more closely the real env 12 years ago
Filippo Valsorda 8cc83b8dbe Bubble up all the stack of exceptions and retry download tests on timeout errors 12 years ago
Philipp Hagemeister 233a22960a Switch ComedyCentral test to a permanent URL (They delete full episodes older than a month) 12 years ago
Philipp Hagemeister 30e9f4496b Drop md5: spec for now (unused and breaks int values) 12 years ago
Philipp Hagemeister bffbd5f038 Download progress hooks 12 years ago
Philipp Hagemeister d8bbf2018e Aggressive test timeout to catch hanging servers 12 years ago
Philipp Hagemeister 3a648b209c Remove .part files before and after tests 12 years ago
Philipp Hagemeister 511eda8eda add test for infoq 12 years ago
Philipp Hagemeister c073e35b1e Simplify test parameter initialization 12 years ago
Philipp Hagemeister 5c892b0ba9 Adapt test_download to support playlists, and remove race conditions 12 years ago
Philipp Hagemeister 6985325e01 Revert "In tests.json file and md5 join in a 'files' list to handle multiple-file IEs"
This made the JSON structure really unreadable and was a quick fix.

This reverts commit 6535e9511f.
12 years ago
Philipp Hagemeister 911ee27e83 typo 12 years ago
Filippo Valsorda 6535e9511f In tests.json file and md5 join in a 'files' list to handle multiple-file IEs 12 years ago
Filippo Valsorda 6b3aef80ce better Vimeo tests; fixed a couple of VimeoIE fields 12 years ago
Filippo Valsorda 0eaf520d77 add info_dict testing to test_download 12 years ago
Philipp Hagemeister 5d01a64719 Revert "Don't be too clever"
This reverts commit a276e06080.
12 years ago
Philipp Hagemeister a276e06080 Don't be too clever 12 years ago
Filippo Valsorda fd5ff02042 streamlined and simplified dynamic tests generation; readded a couple of test features 12 years ago
gcmalloc 1535ac2ae9 test automation 12 years ago
Filippo Valsorda 4fb1acc212 use the new --test option to speed up tests (fetch only first 10K)
now all tests working and passing
12 years ago
Philipp Hagemeister 863baa16ec SoundCloud IDs have changed, fix tests 12 years ago
Philipp Hagemeister 4083bf81a0 Correct metacafe test filename (happens to start with an underscore) 12 years ago
Philipp Hagemeister d78be7e331 Add test for Youku (Mentioned in #314) 12 years ago
Philipp Hagemeister e91d2338d8 Fix MD5 calculation 12 years ago
Philipp Hagemeister 8af4ed7b4f Fix 2.6 nosetests 12 years ago
Philipp Hagemeister 8176041605 Check during test runtime instead of test generation for _WORKING, and add 2.6 compat 12 years ago
Philipp Hagemeister cdab8aa389 Update download tests 12 years ago
Philipp Hagemeister 59ae15a507 Convert all tabs to 4 spaces (PEP8) 12 years ago
gcmalloc a8ac2f8664 adding second vimeo url 12 years ago
gcmalloc fb0e99b884 skipping vimeo for the moment 12 years ago
gcmalloc 9c6e9a4532 adding xnxx test 12 years ago
gcmalloc 67af74992e adding collegehumor test 12 years ago
gcmalloc 103c508ffa adding stanford open class courses 12 years ago
gcmalloc 2876773381 adding test for vimeo, xvideo and soundcloud 12 years ago
gcmalloc 591bbe9c90 changing test from md5 to filesize, the file changed between download 12 years ago
gcmalloc fc7376016c cleaning the test that doesn't work with the api for the moment 12 years ago
gcmalloc 97a37c2319 some assertion on the file downloaded 12 years ago
gcmalloc 4279a0ca98 correcting test to be compatible with python2.6 12 years ago
gcmalloc 7f60b5aa40 correction on the test 12 years ago
gcmalloc 4c9afeca34 adding xvideo 12 years ago
gcmalloc 6da7877bf5 adding facebook test 12 years ago
gcmalloc b4e5de51ec adding photobucket test 12 years ago
gcmalloc a4b5f22554 adding metacafe test 12 years ago
gcmalloc ff08984246 adding dailymotion test 12 years ago
gcmalloc 137c5803c3 some changes to keep the same standard 12 years ago
gcmalloc 0b4e98490b changing test video 12 years ago
gcmalloc efe8902f0b adding download test with md5 check 12 years ago